From c61e44d55b6e69b94bd6c7a31890263aba0c614a Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Fri, 28 Dec 2018 17:26:30 +0200 Subject: - Add optional Nginx reverse proxy config to docker-compose.yml and nginx directory. Thanks to MyTheValentinus ! --- docker-compose.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'docker-compose.yml') diff --git a/docker-compose.yml b/docker-compose.yml index 9d635a33..abcaa48b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -145,6 +145,7 @@ services: # Docker outsideport:insideport. Do not add anything extra here. # For example, if you want to have wekan on port 3001, # use 3001:8080 . Do not add any extra address etc here, that way it does not work. + # remove port mapping if you use nginx reverse proxy, port 8080 is already exposed to wekan-tier network - 80:8080 environment: - MONGO_URL=mongodb://wekandb:27017/wekan @@ -492,6 +493,23 @@ services: # ...COPY CONFIG FROM ABOVE TO HERE... #--------------------------------------------------------------------------------- +# OPTIONAL NGINX CONFIG FOR REVERSE PROXY +# nginx: +# image: nginx +# container_name: nginx +# restart: always +# networks: +# - wekan-tier +# depends_on: +# - wekan +# ports: +# - 80:80 +# - 443:443 +# volumes: +# - ./nginx/ssl:/etc/nginx/ssl/ +# - ./nginx/nginx.conf:/etc/nginx/nginx.conf + + volumes: wekan-db: driver: local -- cgit v1.2.3-1-g7c22