Delay change of service names

master
andryyy 2017-01-13 16:28:53 +01:00
parent 89b5d9bde6
commit 079ddb40f6
1 changed files with 27 additions and 27 deletions

View File

@ -1,7 +1,7 @@
version: '2' version: '2'
services: services:
pdns: pdns-mailcow:
image: andryyy/mailcow-dockerized:pdns image: andryyy/mailcow-dockerized:pdns
volumes: volumes:
- ./data/conf/pdns/:/etc/powerdns/ - ./data/conf/pdns/:/etc/powerdns/
@ -10,10 +10,10 @@ services:
mailcow-network: mailcow-network:
ipv4_address: 172.22.1.254 ipv4_address: 172.22.1.254
mysql: mysql-mailcow:
image: mariadb:10.1 image: mariadb:10.1
depends_on: depends_on:
- pdns - pdns-mailcow
command: mysqld --default-time-zone="${TZ}" command: mysqld --default-time-zone="${TZ}"
volumes: volumes:
- mysql-vol-1:/var/lib/mysql/ - mysql-vol-1:/var/lib/mysql/
@ -30,10 +30,10 @@ services:
networks: networks:
mailcow-network: mailcow-network:
redis: redis-mailcow:
image: redis image: redis
depends_on: depends_on:
- pdns - pdns-mailcow
volumes: volumes:
- redis-vol-1:/data/ - redis-vol-1:/data/
restart: always restart: always
@ -43,10 +43,10 @@ services:
networks: networks:
mailcow-network: mailcow-network:
rspamd: rspamd-mailcow:
image: andryyy/mailcow-dockerized:rspamd image: andryyy/mailcow-dockerized:rspamd
depends_on: depends_on:
- pdns - pdns-mailcow
volumes: volumes:
- ./data/conf/rspamd/override.d/:/etc/rspamd/override.d:ro - ./data/conf/rspamd/override.d/:/etc/rspamd/override.d:ro
- ./data/conf/rspamd/local.d/:/etc/rspamd/local.d:ro - ./data/conf/rspamd/local.d/:/etc/rspamd/local.d:ro
@ -60,11 +60,11 @@ services:
networks: networks:
mailcow-network: mailcow-network:
phpfpm: phpfpm-mailcow:
image: andryyy/mailcow-dockerized:phpfpm image: andryyy/mailcow-dockerized:phpfpm
command: "php-fpm -d date.timezone=${TZ}" command: "php-fpm -d date.timezone=${TZ}"
depends_on: depends_on:
- pdns - pdns-mailcow
volumes: volumes:
- ./data/web:/web:ro - ./data/web:/web:ro
- ./data/conf/rspamd/dynmaps:/dynmaps:ro - ./data/conf/rspamd/dynmaps:/dynmaps:ro
@ -81,11 +81,11 @@ services:
networks: networks:
mailcow-network: mailcow-network:
sogo: sogo-mailcow:
image: andryyy/mailcow-dockerized:sogo image: andryyy/mailcow-dockerized:sogo
depends_on: depends_on:
- pdns - pdns-mailcow
- mysql - mysql-mailcow
environment: environment:
- DBNAME=${DBNAME} - DBNAME=${DBNAME}
- DBUSER=${DBUSER} - DBUSER=${DBUSER}
@ -101,10 +101,10 @@ services:
networks: networks:
mailcow-network: mailcow-network:
rmilter: rmilter-mailcow:
image: andryyy/mailcow-dockerized:rmilter image: andryyy/mailcow-dockerized:rmilter
depends_on: depends_on:
- pdns - pdns-mailcow
volumes: volumes:
- ./data/conf/rmilter/:/etc/rmilter.conf.d/:ro - ./data/conf/rmilter/:/etc/rmilter.conf.d/:ro
restart: always restart: always
@ -114,16 +114,16 @@ services:
networks: networks:
mailcow-network: mailcow-network:
dovecot: dovecot-mailcow:
image: andryyy/mailcow-dockerized:dovecot image: andryyy/mailcow-dockerized:dovecot
depends_on: depends_on:
- pdns - pdns-mailcow
volumes: volumes:
- ./data/conf/dovecot:/etc/dovecot - ./data/conf/dovecot:/etc/dovecot
- ./data/assets/ssl:/etc/ssl/mail/:ro - ./data/assets/ssl:/etc/ssl/mail/:ro
- vmail-vol-1:/var/vmail - vmail-vol-1:/var/vmail
volumes_from: volumes_from:
- sogo - sogo-mailcow
environment: environment:
- DBNAME=${DBNAME} - DBNAME=${DBNAME}
- DBUSER=${DBUSER} - DBUSER=${DBUSER}
@ -142,10 +142,10 @@ services:
networks: networks:
mailcow-network: mailcow-network:
postfix: postfix-mailcow:
image: andryyy/mailcow-dockerized:postfix image: andryyy/mailcow-dockerized:postfix
depends_on: depends_on:
- pdns - pdns-mailcow
volumes: volumes:
- ./data/conf/postfix:/opt/postfix/conf - ./data/conf/postfix:/opt/postfix/conf
- ./data/assets/ssl:/etc/ssl/mail/:ro - ./data/assets/ssl:/etc/ssl/mail/:ro
@ -165,10 +165,10 @@ services:
networks: networks:
mailcow-network: mailcow-network:
memcached: memcached-mailcow:
image: memcached image: memcached
depends_on: depends_on:
- pdns - pdns-mailcow
restart: always restart: always
dns: dns:
- 172.22.1.254 - 172.22.1.254
@ -176,18 +176,18 @@ services:
networks: networks:
mailcow-network: mailcow-network:
nginx: nginx-mailcow:
depends_on: depends_on:
- mysql - mysql-mailcow
- sogo - sogo-mailcow
- phpfpm - phpfpm-mailcow
- rspamd - rspamd-mailcow
image: nginx:mainline image: nginx:mainline
command: /bin/bash -c "envsubst < /etc/nginx/conf.d/listen.template > /etc/nginx/conf.d/listen.active && nginx -g 'daemon off;'" command: /bin/bash -c "envsubst < /etc/nginx/conf.d/listen.template > /etc/nginx/conf.d/listen.active && nginx -g 'daemon off;'"
environment: environment:
- HTTPS_PORT=${HTTPS_PORT} - HTTPS_PORT=${HTTPS_PORT}
volumes_from: volumes_from:
- sogo - sogo-mailcow
volumes: volumes:
- ./data/web:/web:ro - ./data/web:/web:ro
- ./data/conf/rspamd/dynmaps:/dynmaps:ro - ./data/conf/rspamd/dynmaps:/dynmaps:ro