[Compose] Disable oom killer for watchdog and dockerapi
[Compose] Add compose project name to php-fpm-mailcowmaster
parent
8934a3a68b
commit
e695ae382c
|
@ -125,6 +125,7 @@ services:
|
||||||
- SMTP_PORT=${SMTP_PORT:-25}
|
- SMTP_PORT=${SMTP_PORT:-25}
|
||||||
- API_KEY=${API_KEY:-invalid}
|
- API_KEY=${API_KEY:-invalid}
|
||||||
- API_ALLOW_FROM=${API_ALLOW_FROM:-invalid}
|
- API_ALLOW_FROM=${API_ALLOW_FROM:-invalid}
|
||||||
|
- COMPOSE_PROJECT_NAME=${COMPOSE_PROJECT_NAME:-mailcow-dockerized}
|
||||||
restart: always
|
restart: always
|
||||||
dns:
|
dns:
|
||||||
- ${IPV4_NETWORK:-172.22.1}.254
|
- ${IPV4_NETWORK:-172.22.1}.254
|
||||||
|
@ -330,6 +331,7 @@ services:
|
||||||
# Debug
|
# Debug
|
||||||
#command: /watchdog.sh
|
#command: /watchdog.sh
|
||||||
build: ./data/Dockerfiles/watchdog
|
build: ./data/Dockerfiles/watchdog
|
||||||
|
oom_kill_disable: true
|
||||||
volumes:
|
volumes:
|
||||||
- rspamd-sock:/rspamd-sock
|
- rspamd-sock:/rspamd-sock
|
||||||
restart: always
|
restart: always
|
||||||
|
@ -354,7 +356,7 @@ services:
|
||||||
image: mailcow/dockerapi:1.13
|
image: mailcow/dockerapi:1.13
|
||||||
restart: always
|
restart: always
|
||||||
build: ./data/Dockerfiles/dockerapi
|
build: ./data/Dockerfiles/dockerapi
|
||||||
oom_score_adj: -10
|
oom_kill_disable: true
|
||||||
environment:
|
environment:
|
||||||
- TZ=${TZ}
|
- TZ=${TZ}
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Reference in New Issue