Introduce image tags

master
andryyy 2017-06-20 20:05:49 +02:00
parent d5eb85ea6b
commit ca917673bd
1 changed files with 10 additions and 9 deletions

View File

@ -2,7 +2,7 @@ version: '2.1'
services: services:
unbound-mailcow: unbound-mailcow:
image: mailcow/unbound image: mailcow/unbound:1.0
build: ./data/Dockerfiles/unbound build: ./data/Dockerfiles/unbound
command: /usr/sbin/unbound command: /usr/sbin/unbound
depends_on: depends_on:
@ -65,7 +65,7 @@ services:
- redis - redis
clamd-mailcow: clamd-mailcow:
image: mailcow/clamd image: mailcow/clamd:1.0
build: ./data/Dockerfiles/clamav build: ./data/Dockerfiles/clamav
restart: always restart: always
dns: dns:
@ -77,7 +77,7 @@ services:
- clamd - clamd
rspamd-mailcow: rspamd-mailcow:
image: mailcow/rspamd image: mailcow/rspamd:1.0
build: ./data/Dockerfiles/rspamd build: ./data/Dockerfiles/rspamd
command: > command: >
/bin/bash -c " /bin/bash -c "
@ -104,7 +104,7 @@ services:
- rspamd - rspamd
php-fpm-mailcow: php-fpm-mailcow:
image: mailcow/phpfpm image: mailcow/phpfpm:1.0
build: ./data/Dockerfiles/php-fpm build: ./data/Dockerfiles/php-fpm
command: "php-fpm -d date.timezone=${TZ}" command: "php-fpm -d date.timezone=${TZ}"
depends_on: depends_on:
@ -128,7 +128,7 @@ services:
- phpfpm - phpfpm
sogo-mailcow: sogo-mailcow:
image: mailcow/sogo image: mailcow/sogo:1.0
build: ./data/Dockerfiles/sogo build: ./data/Dockerfiles/sogo
depends_on: depends_on:
unbound-mailcow: unbound-mailcow:
@ -153,7 +153,7 @@ services:
- sogo - sogo
dovecot-mailcow: dovecot-mailcow:
image: mailcow/dovecot image: mailcow/dovecot:1.0
build: ./data/Dockerfiles/dovecot build: ./data/Dockerfiles/dovecot
depends_on: depends_on:
unbound-mailcow: unbound-mailcow:
@ -185,7 +185,7 @@ services:
- dovecot - dovecot
postfix-mailcow: postfix-mailcow:
image: mailcow/postfix image: mailcow/postfix:1.0
build: ./data/Dockerfiles/postfix build: ./data/Dockerfiles/postfix
depends_on: depends_on:
unbound-mailcow: unbound-mailcow:
@ -266,7 +266,7 @@ services:
acme-mailcow: acme-mailcow:
depends_on: depends_on:
- nginx-mailcow - nginx-mailcow
image: mailcow/acme image: mailcow/acme:1.0
build: ./data/Dockerfiles/acme build: ./data/Dockerfiles/acme
dns: dns:
- 172.22.1.254 - 172.22.1.254
@ -283,6 +283,7 @@ services:
volumes: volumes:
- ./data/web/.well-known/acme-challenge:/var/www/acme:rw - ./data/web/.well-known/acme-challenge:/var/www/acme:rw
- ./data/assets/ssl:/var/lib/acme/:rw - ./data/assets/ssl:/var/lib/acme/:rw
- ./data/assets/ssl-example:/var/lib/ssl-example/:ro
- /var/run/docker.sock:/var/run/docker.sock:ro - /var/run/docker.sock:/var/run/docker.sock:ro
# do not restart the container too often. Things get worse when we hit let's encrypt's ratelimit. # do not restart the container too often. Things get worse when we hit let's encrypt's ratelimit.
restart: on-failure:1 restart: on-failure:1
@ -292,7 +293,7 @@ services:
- acme - acme
fail2ban-mailcow: fail2ban-mailcow:
image: mailcow/fail2ban image: mailcow/fail2ban:1.0
build: ./data/Dockerfiles/fail2ban build: ./data/Dockerfiles/fail2ban
depends_on: depends_on:
- dovecot-mailcow - dovecot-mailcow