Einige Einstellungen definiert

This commit is contained in:
bmen 2020-09-20 11:44:36 +02:00
parent 5b00a9908a
commit 47882aba14
1 changed files with 9 additions and 1 deletions

View File

@ -46,7 +46,13 @@ services:
# - mysql://hackmd:hackmdpass@database:3306/hackmd # - mysql://hackmd:hackmdpass@database:3306/hackmd
# - sqlite:///data/sqlite.db (NOT RECOMMENDED) # - sqlite:///data/sqlite.db (NOT RECOMMENDED)
# - For details see the official sequelize docs: http://docs.sequelizejs.com/en/v3/ # - For details see the official sequelize docs: http://docs.sequelizejs.com/en/v3/
- CMD_DB_URL=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_DB}:5432/hackmd - CMD_DB_URL=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_DB}:5432/${POSTGRES_DB}
- CMD_ALLOW_PDF_EXPORT=true
- CMD_IMAGE_UPLOAD_TYPE=filesystem
- CMD_DOMAIN=md.bmen.cc
- CMD_ALLOW_ANONYMOUS=false
- CMD_ALLOW_ANONYMOUS_EDITS=true
- CMD_ALLOW_FREEURL=true
# ports: # ports:
# Ports that are published to the outside. # Ports that are published to the outside.
# The latter port is the port inside the container. It should always stay on 3000 # The latter port is the port inside the container. It should always stay on 3000
@ -55,6 +61,8 @@ services:
# Example: # Example:
# - "127.0.0.1:3000:3000" # - "127.0.0.1:3000:3000"
# - "3000:3000" # - "3000:3000"
volumes:
- /opt/appdata/codimd/uploads:/codimd/public/uploads
networks: networks:
- webproxy - webproxy
- backend-codimd - backend-codimd