initial resource limits, just guessed, might cause some issues later
This commit is contained in:
parent
b3e4af5aca
commit
012b5ca858
33 changed files with 91 additions and 0 deletions
|
|
@ -19,6 +19,8 @@ HealthStartPeriod=10s
|
|||
Notify=healthy
|
||||
# Security
|
||||
NoNewPrivileges=true
|
||||
# Resources
|
||||
Ulimit=memlock=-1
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
|||
|
|
@ -12,6 +12,9 @@ Network=mastodon.network
|
|||
Network=postgresql.network
|
||||
# Security
|
||||
NoNewPrivileges=true
|
||||
# Resources
|
||||
Memory=512m
|
||||
PodmanArgs=--memory-reservation=128m --cpus=0.1 --cpu-shares=512
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
|||
|
|
@ -19,6 +19,8 @@ HealthStartPeriod=1m
|
|||
Notify=healthy
|
||||
# Security
|
||||
NoNewPrivileges=true
|
||||
# Resources
|
||||
PodmanArgs=--cpu-shares=2048
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
|||
|
|
@ -22,6 +22,8 @@ HealthStartPeriod=1m
|
|||
Notify=healthy
|
||||
# Security
|
||||
NoNewPrivileges=true
|
||||
# Resources
|
||||
PodmanArgs=--cpu-shares=2048
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue