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
|
|
@ -11,6 +11,9 @@ Volume=/var/containers/aode/data:/db:Z
|
|||
# Security
|
||||
NoNewPrivileges=true
|
||||
DropCapability=ALL
|
||||
# Resources
|
||||
Memory=1g
|
||||
PodmanArgs=--memory-reservation=512m --cpu-shares=1024
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
|||
|
|
@ -13,6 +13,9 @@ Volume=/var/containers/ask-js/config:/app/config:ro,Z
|
|||
# Security
|
||||
NoNewPrivileges=true
|
||||
DropCapability=ALL
|
||||
# Resources
|
||||
Memory=1g
|
||||
PodmanArgs=--memory-reservation=512m --cpus=0.4 --cpu-shares=512
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
|||
|
|
@ -14,6 +14,9 @@ Volume=/var/www:/var/www:z
|
|||
NoNewPrivileges=true
|
||||
DropCapability=ALL
|
||||
AddCapability=NET_ADMIN NET_BIND_SERVICE
|
||||
# Resources
|
||||
Memory=1g
|
||||
PodmanArgs=--memory-reservation=512m --cpu-shares=1024
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
|||
|
|
@ -17,6 +17,9 @@ HealthStartPeriod=1m
|
|||
Notify=healthy
|
||||
# Security
|
||||
NoNewPrivileges=true
|
||||
# Resources
|
||||
Memory=1g
|
||||
PodmanArgs=--memory-reservation=512m --cpus=0.4 --cpu-shares=512
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
|||
|
|
@ -23,6 +23,9 @@ Volume=/var/containers/ejabberd/database:/opt/ejabberd/database:Z
|
|||
Volume=/etc/certs:/etc/letsencrypt/live:ro,z
|
||||
# Security
|
||||
NoNewPrivileges=true
|
||||
# Resources
|
||||
Memory=1g
|
||||
PodmanArgs=--memory-reservation=512m --cpus=0.4 --cpu-shares=1024
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
|||
|
|
@ -15,6 +15,9 @@ Timezone=local
|
|||
Volume=/var/containers/forgejo/data:/data:Z
|
||||
# Security
|
||||
NoNewPrivileges=true
|
||||
# Resources
|
||||
Memory=2g
|
||||
PodmanArgs=--memory-reservation=512m --cpus=0.4 --cpu-shares=1024
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
|||
|
|
@ -14,6 +14,9 @@ Volume=/var/containers/freshrss/data:/var/www/FreshRSS/data:Z
|
|||
Volume=/var/containers/freshrss/extensions:/var/www/FreshRSS/extensions:Z
|
||||
# Security
|
||||
NoNewPrivileges=true
|
||||
# Resources
|
||||
Memory=512m
|
||||
PodmanArgs=--memory-reservation=256m --cpus=0.2 --cpu-shares=128
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
|||
|
|
@ -10,6 +10,9 @@ Volume=/var/containers/i2pd/data:/home/i2pd/data:Z,U
|
|||
# Security
|
||||
NoNewPrivileges=true
|
||||
DropCapability=ALL
|
||||
# Resources
|
||||
Memory=256m
|
||||
PodmanArgs=--memory-reservation=128m --cpus=0.2 --cpu-shares=128
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
|||
|
|
@ -14,6 +14,9 @@ Volume=/var/containers/iceshrimp/data/media:/data/media:Z
|
|||
Volume=/var/containers/iceshrimp/config:/app/config:ro,Z
|
||||
# Security
|
||||
NoNewPrivileges=true
|
||||
# Resources
|
||||
Memory=2g
|
||||
PodmanArgs=--memory-reservation=512m --cpu-shares=1024
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
|||
|
|
@ -12,6 +12,9 @@ Volume=/var/containers/knot/repositories:/home/git/repositories:Z
|
|||
Volume=/var/containers/knot/data:/app:Z
|
||||
# Security
|
||||
NoNewPrivileges=true
|
||||
# Resources
|
||||
Memory=512m
|
||||
PodmanArgs=--memory-reservation=256m --cpus=0.4 --cpu-shares=256
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
|||
|
|
@ -26,6 +26,9 @@ HealthStartPeriod=1m
|
|||
Notify=healthy
|
||||
# Security
|
||||
NoNewPrivileges=true
|
||||
# Resources
|
||||
Memory=512m
|
||||
PodmanArgs=--memory-reservation=256m --cpus=0.4 --cpu-shares=256
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -13,6 +13,9 @@ Volume=/var/containers/mollysocket/data:/data:Z
|
|||
WorkingDir=/data
|
||||
# Security
|
||||
NoNewPrivileges=true
|
||||
# Resources
|
||||
Memory=256m
|
||||
PodmanArgs=--memory-reservation=128m --cpus=0.2 --cpu-shares=128
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
|||
|
|
@ -11,6 +11,9 @@ Volume=/var/containers/pds/data:/pds:Z
|
|||
# Security
|
||||
NoNewPrivileges=true
|
||||
DropCapability=ALL
|
||||
# Resources
|
||||
Memory=1g
|
||||
PodmanArgs=--memory-reservation=512m --cpu-shares=1024
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
|||
|
|
@ -16,6 +16,8 @@ HealthStartPeriod=30s
|
|||
Notify=healthy
|
||||
# Security
|
||||
NoNewPrivileges=true
|
||||
# Resources
|
||||
ShmSize=1G
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
|||
|
|
@ -15,6 +15,9 @@ HealthStartPeriod=30s
|
|||
Notify=healthy
|
||||
# Security
|
||||
NoNewPrivileges=true
|
||||
# Resources
|
||||
Memory=1g
|
||||
PodmanArgs=--memory-reservation=512m --cpus=0.4 --cpu-shares=512
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
|||
|
|
@ -10,6 +10,9 @@ Environment=URL=https://b.twitch.synth.download
|
|||
PublishPort=127.0.0.1:43072:7000
|
||||
# Security
|
||||
NoNewPrivileges=true
|
||||
# Resources
|
||||
Memory=1g
|
||||
PodmanArgs=--memory-reservation=512m --cpus=1 --cpu-shares=512
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
|||
|
|
@ -15,6 +15,9 @@ Environment=SAFETWITCH_FALLBACK_LOCALE=en
|
|||
PublishPort=127.0.0.1:24682:8280
|
||||
# Security
|
||||
NoNewPrivileges=true
|
||||
# Resources
|
||||
Memory=256mb
|
||||
PodmanArgs=--memory-reservation=128mb --cpus=0.2 --cpu-shares=256
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
|||
|
|
@ -17,6 +17,10 @@ Network=searxng.network
|
|||
Volume=/var/containers/searxng/dragonfly:/data:Z
|
||||
# Security
|
||||
NoNewPrivileges=true
|
||||
# Resources
|
||||
Memory=256mb
|
||||
Ulimit=memlock=-1
|
||||
PodmanArgs=--memory-reservation=128mb --cpus=0.2 --cpu-shares=512
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
|||
|
|
@ -13,6 +13,9 @@ Volume=/var/containers/searxng/config:/etc/searxng:ro,Z
|
|||
Volume=/var/containers/searxng/cache:/var/cache/searxng
|
||||
# Security
|
||||
NoNewPrivileges=true
|
||||
# Resources
|
||||
Memory=1g
|
||||
PodmanArgs=--memory-reservation=512m --cpus=1 --cpu-shares=512
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
|||
|
|
@ -20,6 +20,8 @@ Volume=/var/containers/sharkey/activity:/sharkey/.config:z
|
|||
Volume=/var/containers/sharkey/default.yml:/sharkey/.config/default.yml:ro,z
|
||||
# Security
|
||||
NoNewPrivileges=true
|
||||
# Resources
|
||||
PodmanArgs=--cpu-shares=2048
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
|||
|
|
@ -19,6 +19,8 @@ Volume=/var/containers/sharkey/api:/sharkey/.config:z
|
|||
Volume=/var/containers/sharkey/default.yml:/sharkey/.config/default.yml:ro,z
|
||||
# Security
|
||||
NoNewPrivileges=true
|
||||
# Resources
|
||||
PodmanArgs=--cpu-shares=2048
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
|||
|
|
@ -19,6 +19,8 @@ HealthStartPeriod=10s
|
|||
Notify=healthy
|
||||
# Security
|
||||
NoNewPrivileges=true
|
||||
# Resources
|
||||
Ulimit=memlock=-1
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@ Volume=/var/containers/sharkey/worker:/sharkey/.config:z
|
|||
Volume=/var/containers/sharkey/default.yml:/sharkey/.config/default.yml:ro,z
|
||||
# Security
|
||||
NoNewPrivileges=true
|
||||
# Resources
|
||||
PodmanArgs=--cpu-shares=2048
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
|||
|
|
@ -11,6 +11,9 @@ Volume=/var/containers/spindle/data:/app:Z
|
|||
Volume=/var/run/dind/docker.sock:/var/run/docker.sock:z
|
||||
# Security
|
||||
NoNewPrivileges=true
|
||||
# Resources
|
||||
Memory=512m
|
||||
PodmanArgs=--memory-reservation=256m --cpus=0.4 --cpu-shares=256
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
|||
|
|
@ -11,6 +11,9 @@ Volume=/var/containers/tor/data:/var/lib/tor:Z
|
|||
# Security
|
||||
NoNewPrivileges=true
|
||||
DropCapability=ALL
|
||||
# Resources
|
||||
Memory=256m
|
||||
PodmanArgs=--memory-reservation=128m --cpus=0.2 --cpu-shares=128
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
|||
|
|
@ -9,6 +9,9 @@ PublishPort=127.0.0.1:60838:80
|
|||
Volume=/var/containers/vaultwarden/data:/data:Z
|
||||
# Security
|
||||
NoNewPrivileges=true
|
||||
# Resources
|
||||
Memory=256m
|
||||
PodmanArgs=--memory-reservation=128m --cpus=0.2 --cpu-shares=128
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
|||
|
|
@ -7,6 +7,8 @@ EnvironmentFile=/etc/containers/systemd/xpost/zenfyr.env
|
|||
Volume=/var/containers/zenfyr-xpost/data:/app/data:Z,U
|
||||
# Security
|
||||
NoNewPrivileges=true
|
||||
# Resources
|
||||
PodmanArgs=--cpus=0.4 --cpu-shares=128
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
|||
|
|
@ -11,6 +11,9 @@ Volume=/var/containers/yggdrasil/config:/etc/yggdrasil:ro,Z
|
|||
# Security
|
||||
NoNewPrivileges=true
|
||||
DropCapability=ALL
|
||||
# Resources
|
||||
Memory=128m
|
||||
PodmanArgs=--memory-reservation=128m --cpus=0.2 --cpu-shares=128
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
|||
|
|
@ -13,6 +13,9 @@ PublishPort=127.0.0.1:19241:8080
|
|||
Exec=start-from-init --masterkeyFromEnv --tlsMode external
|
||||
# Security
|
||||
NoNewPrivileges=true
|
||||
# Resources
|
||||
Memory=512m
|
||||
PodmanArgs=--memory-reservation=256m --cpus=0.4 --cpu-shares=256
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue