Have the admin interface listen on localhost

This commit is contained in:
Pierre Jaury
2016-08-21 15:01:07 +02:00
parent 1b6c514dc5
commit e3197f9156
2 changed files with 9 additions and 3 deletions

View File

@@ -74,17 +74,19 @@ services:
- "$ROOT/filter:/data"
admin:
# build: admin
build: admin
image: freeposte/admin:$VERSION
restart: always
env_file: .env
ports:
- "127.0.0.1:8000:80"
volumes:
- "$ROOT/freeposte:/data"
- "$ROOT/dkim:/dkim"
- /var/run/docker.sock:/var/run/docker.sock:ro
webmail:
build: "$WEBMAIL"
# build: "$WEBMAIL"
image: "freeposte/$WEBMAIL:$VERSION"
restart: always
env_file: .env