From 334f605bdea98d5abaff1815414a8048ef20cab1 Mon Sep 17 00:00:00 2001 From: Jan Kiesewetter Date: Tue, 10 Oct 2017 10:14:25 +0200 Subject: [PATCH] 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 --- docker-compose.override.yml | 6 ++++++ docker-compose.yml | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 docker-compose.override.yml diff --git a/docker-compose.override.yml b/docker-compose.override.yml new file mode 100644 index 0000000..c80a6f1 --- /dev/null +++ b/docker-compose.override.yml @@ -0,0 +1,6 @@ +version: '3.3' +services: + + zammad-nginx: + ports: + - "80:80" diff --git a/docker-compose.yml b/docker-compose.yml index b7994a6..c810843 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -34,8 +34,6 @@ services: links: - zammad-railsserver - zammad-websocket - ports: - - "80:80" restart: always volumes: - data-zammad:/home/zammad