Move mapping of port 80 to docker-compose.override.yml

Moving the port mapping to override file makes it possible to easy use an reverse proxy for production.
This is necessary because it is not possible to remove a property with an override file.
See https://docs.docker.com/compose/extends/#understanding-multiple-compose-files

Resolves: #51
This commit is contained in:
Jan Kiesewetter 2017-10-10 10:14:25 +02:00
parent 14c391edb7
commit 334f605bde
2 changed files with 6 additions and 2 deletions

View File

@ -0,0 +1,6 @@
version: '3.3'
services:
zammad-nginx:
ports:
- "80:80"

View File

@ -34,8 +34,6 @@ services:
links:
- zammad-railsserver
- zammad-websocket
ports:
- "80:80"
restart: always
volumes:
- data-zammad:/home/zammad