diff options
author | Lauri Ojansivu <x@xet7.org> | 2018-12-28 17:26:30 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2018-12-28 17:26:30 +0200 |
commit | c61e44d55b6e69b94bd6c7a31890263aba0c614a (patch) | |
tree | 6ccbbc1a8ea2cd63a93fc734f851b99dab008711 /docker-compose.yml | |
parent | 76c5c283b91c2772a0a978e0b49622058833f951 (diff) | |
download | wekan-c61e44d55b6e69b94bd6c7a31890263aba0c614a.tar.gz wekan-c61e44d55b6e69b94bd6c7a31890263aba0c614a.tar.bz2 wekan-c61e44d55b6e69b94bd6c7a31890263aba0c614a.zip |
- Add optional Nginx reverse proxy config to docker-compose.yml and nginx directory.
Thanks to MyTheValentinus !
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 18 |
1 files changed, 18 insertions, 0 deletions
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 |