mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-11-30 08:59:40 +02:00
[Compose] Disable oom killer for watchdog and dockerapi
[Compose] Add compose project name to php-fpm-mailcow
This commit is contained in:
parent
8934a3a68b
commit
e695ae382c
@ -125,6 +125,7 @@ services:
|
||||
- SMTP_PORT=${SMTP_PORT:-25}
|
||||
- API_KEY=${API_KEY:-invalid}
|
||||
- API_ALLOW_FROM=${API_ALLOW_FROM:-invalid}
|
||||
- COMPOSE_PROJECT_NAME=${COMPOSE_PROJECT_NAME:-mailcow-dockerized}
|
||||
restart: always
|
||||
dns:
|
||||
- ${IPV4_NETWORK:-172.22.1}.254
|
||||
@ -330,6 +331,7 @@ services:
|
||||
# Debug
|
||||
#command: /watchdog.sh
|
||||
build: ./data/Dockerfiles/watchdog
|
||||
oom_kill_disable: true
|
||||
volumes:
|
||||
- rspamd-sock:/rspamd-sock
|
||||
restart: always
|
||||
@ -354,7 +356,7 @@ services:
|
||||
image: mailcow/dockerapi:1.13
|
||||
restart: always
|
||||
build: ./data/Dockerfiles/dockerapi
|
||||
oom_score_adj: -10
|
||||
oom_kill_disable: true
|
||||
environment:
|
||||
- TZ=${TZ}
|
||||
volumes:
|
||||
|
Loading…
Reference in New Issue
Block a user