Revert docker-compose to latest upstream version

master
Tim Möhlmann 6 years ago
parent 5b7b29ee3f
commit 40d8e65762
No known key found for this signature in database
GPG Key ID: AFABC30066A39335

@ -29,27 +29,12 @@ services:
- "$BIND_ADDRESS6:587:587" - "$BIND_ADDRESS6:587:587"
volumes: volumes:
- "$ROOT/certs:/certs" - "$ROOT/certs:/certs"
depends_on:
- unbound
dns:
- 10.177.20.254
unbound:
image: mailu/unbound:$VERSION
restart: always
networks:
default:
ipv4_address: 10.177.20.254
redis: redis:
image: redis:alpine image: redis:alpine
restart: always restart: always
volumes: volumes:
- "$ROOT/redis:/data" - "$ROOT/redis:/data"
dns:
- 10.177.20.254
depends_on:
- unbound
imap: imap:
image: mailu/dovecot:$VERSION image: mailu/dovecot:$VERSION
@ -60,9 +45,6 @@ services:
- "$ROOT/overrides:/overrides" - "$ROOT/overrides:/overrides"
depends_on: depends_on:
- front - front
- unbound
dns:
- 10.177.20.254
smtp: smtp:
image: mailu/postfix:$VERSION image: mailu/postfix:$VERSION
@ -72,9 +54,6 @@ services:
- "$ROOT/overrides:/overrides" - "$ROOT/overrides:/overrides"
depends_on: depends_on:
- front - front
- unbound
dns:
- 10.177.20.254
antispam: antispam:
image: mailu/rspamd:$VERSION image: mailu/rspamd:$VERSION
@ -86,9 +65,6 @@ services:
- "$ROOT/overrides/rspamd:/etc/rspamd/override.d" - "$ROOT/overrides/rspamd:/etc/rspamd/override.d"
depends_on: depends_on:
- front - front
- unbound
dns:
- 10.177.20.254
antivirus: antivirus:
image: mailu/$ANTIVIRUS:$VERSION image: mailu/$ANTIVIRUS:$VERSION
@ -96,10 +72,6 @@ services:
env_file: .env env_file: .env
volumes: volumes:
- "$ROOT/filter:/data" - "$ROOT/filter:/data"
depends_on:
- unbound
dns:
- 10.177.20.254
webdav: webdav:
image: mailu/$WEBDAV:$VERSION image: mailu/$WEBDAV:$VERSION
@ -107,10 +79,6 @@ services:
env_file: .env env_file: .env
volumes: volumes:
- "$ROOT/dav:/data" - "$ROOT/dav:/data"
depends_on:
- unbound
dns:
- 10.177.20.254
admin: admin:
image: mailu/admin:$VERSION image: mailu/admin:$VERSION
@ -122,9 +90,6 @@ services:
- /var/run/docker.sock:/var/run/docker.sock:ro - /var/run/docker.sock:/var/run/docker.sock:ro
depends_on: depends_on:
- redis - redis
- unbound
dns:
- 10.177.20.254
webmail: webmail:
image: "mailu/$WEBMAIL:$VERSION" image: "mailu/$WEBMAIL:$VERSION"
@ -134,24 +99,8 @@ services:
- "$ROOT/webmail:/data" - "$ROOT/webmail:/data"
depends_on: depends_on:
- imap - imap
- unbound
dns:
- 10.177.20.254
fetchmail: fetchmail:
image: mailu/fetchmail:$VERSION image: mailu/fetchmail:$VERSION
restart: always restart: always
env_file: .env env_file: .env
depends_on:
- unbound
dns:
- 10.177.20.254
networks:
default:
driver: bridge
ipam:
driver: default
config:
- subnet: 10.177.20.0/24

Loading…
Cancel
Save