From 66634b19fd56d1fbbc20b93a5dc1c0e7e886cc9f Mon Sep 17 00:00:00 2001 From: andryyy Date: Sat, 13 May 2017 09:04:10 +0200 Subject: [PATCH] Use more alpine images, thanks to K2rool --- docker-compose.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index eb43d8d9..0d71648f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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;'"