Use more alpine images, thanks to K2rool
parent
15853df84c
commit
66634b19fd
|
@ -41,7 +41,7 @@ services:
|
||||||
- mysql
|
- mysql
|
||||||
|
|
||||||
redis-mailcow:
|
redis-mailcow:
|
||||||
image: redis
|
image: redis:alpine
|
||||||
depends_on:
|
depends_on:
|
||||||
- bind9-mailcow
|
- bind9-mailcow
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -217,7 +217,7 @@ services:
|
||||||
- postfix
|
- postfix
|
||||||
|
|
||||||
memcached-mailcow:
|
memcached-mailcow:
|
||||||
image: memcached
|
image: memcached:alpine
|
||||||
depends_on:
|
depends_on:
|
||||||
- bind9-mailcow
|
- bind9-mailcow
|
||||||
restart: always
|
restart: always
|
||||||
|
@ -233,13 +233,13 @@ services:
|
||||||
depends_on:
|
depends_on:
|
||||||
- sogo-mailcow
|
- sogo-mailcow
|
||||||
- php-fpm-mailcow
|
- php-fpm-mailcow
|
||||||
image: nginx:mainline
|
image: nginx:mainline-alpine
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "ping", "php-fpm-mailcow", "-c", "10"]
|
test: ["CMD", "ping", "php-fpm-mailcow", "-c", "10"]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 30s
|
timeout: 30s
|
||||||
retries: 5
|
retries: 5
|
||||||
command: /bin/bash -c "envsubst < /etc/nginx/conf.d/templates/listen_plain.template > /etc/nginx/conf.d/listen_plain.active &&
|
command: /bin/sh -c "envsubst < /etc/nginx/conf.d/templates/listen_plain.template > /etc/nginx/conf.d/listen_plain.active &&
|
||||||
envsubst < /etc/nginx/conf.d/templates/listen_ssl.template > /etc/nginx/conf.d/listen_ssl.active &&
|
envsubst < /etc/nginx/conf.d/templates/listen_ssl.template > /etc/nginx/conf.d/listen_ssl.active &&
|
||||||
envsubst < /etc/nginx/conf.d/templates/server_name.template > /etc/nginx/conf.d/server_name.active &&
|
envsubst < /etc/nginx/conf.d/templates/server_name.template > /etc/nginx/conf.d/server_name.active &&
|
||||||
nginx -g 'daemon off;'"
|
nginx -g 'daemon off;'"
|
||||||
|
|
Loading…
Reference in New Issue