mirror of
https://github.com/mxpv/podsync.git
synced 2024-05-11 05:55:04 +00:00
Update Redis configuration (add memory limit and disable OOM killer)
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
version: '3'
|
version: '2.1'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
@@ -39,6 +39,8 @@ services:
|
|||||||
- /data/redis:/data
|
- /data/redis:/data
|
||||||
sysctls:
|
sysctls:
|
||||||
net.core.somaxconn: 1024
|
net.core.somaxconn: 1024
|
||||||
|
mem_limit: 268435456 # 256MB
|
||||||
|
oom_kill_disable: true
|
||||||
nginx:
|
nginx:
|
||||||
image: umputun/nginx-le:latest
|
image: umputun/nginx-le:latest
|
||||||
container_name: nginx
|
container_name: nginx
|
||||||
|
Reference in New Issue
Block a user