Use more alpine images, thanks to K2rool

master
andryyy 2017-05-13 09:04:10 +02:00
parent 15853df84c
commit 66634b19fd
1 changed files with 4 additions and 4 deletions

View File

@ -41,7 +41,7 @@ services:
- mysql
redis-mailcow:
image: redis
image: redis:alpine
depends_on:
- bind9-mailcow
volumes:
@ -217,7 +217,7 @@ services:
- postfix
memcached-mailcow:
image: memcached
image: memcached:alpine
depends_on:
- bind9-mailcow
restart: always
@ -233,13 +233,13 @@ services:
depends_on:
- sogo-mailcow
- php-fpm-mailcow
image: nginx:mainline
image: nginx:mainline-alpine
healthcheck:
test: ["CMD", "ping", "php-fpm-mailcow", "-c", "10"]
interval: 10s
timeout: 30s
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/server_name.template > /etc/nginx/conf.d/server_name.active &&
nginx -g 'daemon off;'"