Fixed torodb. Part 2.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2022-04-02 22:49:10 +03:00
parent 266d5dda15
commit 1e42aebd70

View file

@ -151,12 +151,25 @@ services:
restart: always restart: always
networks: networks:
- wekan-tier - wekan-tier
#-------------------------------------------------------------------------------------
# ==== BUILD wekan-app DOCKER CONTAINER FROM SOURCE, if you uncomment these ====
# ==== and use commands: docker-compose up -d --build
# ==== Dockerfile and source is at parent directory ..
#build:
# context: ..
# dockerfile: Dockerfile
#-------------------------------------------------------------------------------------
ports: ports:
# Docker outsideport:insideport. Do not add anything extra here. # Docker outsideport:insideport. Do not add anything extra here.
# For example, if you want to have wekan on port 3001, # 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. # use 3001:8080 . Do not add any extra address etc here, that way it does not work.
- 80:8080 - 80:8080
environment: environment:
#-----------------------------------------------------------------
# ==== WRITEABLE PATH FOR FILE UPLOADS ====
- WRITABLE_PATH=/data
#-----------------------------------------------------------------
# ==== MONGO_URL ====
- MONGO_URL=mongodb://mongodb:27017/wekan - MONGO_URL=mongodb://mongodb:27017/wekan
#--------------------------------------------------------------- #---------------------------------------------------------------
# ==== ROOT_URL SETTING ==== # ==== ROOT_URL SETTING ====
@ -333,9 +346,6 @@ services:
# When browser policy is enabled, HTML code at this Trusted URL can have iframe that embeds Wekan inside. # When browser policy is enabled, HTML code at this Trusted URL can have iframe that embeds Wekan inside.
#- TRUSTED_URL= #- TRUSTED_URL=
#----------------------------------------------------------------- #-----------------------------------------------------------------
# ==== WRITEABLE PATH FOR FILE UPLOADS ====
- WRITABLE_PATH=/data
#-----------------------------------------------------------------
# ==== OUTGOING WEBHOOKS ==== # ==== OUTGOING WEBHOOKS ====
# What to send to Outgoing Webhook, or leave out. Example, that includes all that are default: cardId,listId,oldListId,boardId,comment,user,card,commentId . # What to send to Outgoing Webhook, or leave out. Example, that includes all that are default: cardId,listId,oldListId,boardId,comment,user,card,commentId .
# example: WEBHOOKS_ATTRIBUTES=cardId,listId,oldListId,boardId,comment,user,card,commentId # example: WEBHOOKS_ATTRIBUTES=cardId,listId,oldListId,boardId,comment,user,card,commentId
@ -625,7 +635,7 @@ services:
- mongodb - mongodb
volumes: volumes:
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
- ./volumes/data:/data - wekan-files:/data:rw
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
# ==== OPTIONAL: SHARE DATABASE TO OFFICE LAN AND REMOTE VPN ==== # ==== OPTIONAL: SHARE DATABASE TO OFFICE LAN AND REMOTE VPN ====
@ -654,6 +664,8 @@ services:
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
volumes: volumes:
wekan-files:
driver: local
mongodb: mongodb:
driver: local driver: local
mongodb-dump: mongodb-dump: