summaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml18
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