1
0
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:
Maksym Pavlenko
2018-12-01 15:34:22 -08:00
parent 61291cc955
commit dd329e46bc

View File

@ -1,4 +1,4 @@
version: '3'
version: '2.1'
services:
app:
@ -39,6 +39,8 @@ services:
- /data/redis:/data
sysctls:
net.core.somaxconn: 1024
mem_limit: 268435456 # 256MB
oom_kill_disable: true
nginx:
image: umputun/nginx-le:latest
container_name: nginx