Environment Einstellungen angepasst

This commit is contained in:
bmen 2020-09-20 12:05:02 +02:00
parent 47882aba14
commit 5b8a038c91
1 changed files with 9 additions and 4 deletions

View File

@ -46,12 +46,17 @@ 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/${POSTGRES_DB}
- CMD_ALLOW_PDF_EXPORT=true
- CMD_IMAGE_UPLOAD_TYPE=filesystem
- CMD_DOMAIN=md.bmen.cc - CMD_DOMAIN=md.bmen.cc
- CMD_URL_ADDPORT=false
- CMD_PROTOCOL_USESSL=true
#- CMD_EMAIL=false
#- CMD_ALLOW_EMAIL_REGISTER=false
- CMD_ALLOW_ANONYMOUS=false - CMD_ALLOW_ANONYMOUS=false
- CMD_ALLOW_ANONYMOUS_EDITS=true - CMD_ALLOW_ANONYMOUS_EDITS=true
- CMD_DEFAULT_PERMISSION=limited
- CMD_IMAGE_UPLOAD_TYPE=filesystem
- CMD_DB_URL=postgres://${POSTGRESQL_USER}:${POSTGRESQL_PASSWORD}@codimd-db:5432/${POSTGRESQL_DB}
- CMD_ALLOW_PDF_EXPORT=true
- CMD_ALLOW_FREEURL=true - CMD_ALLOW_FREEURL=true
# ports: # ports:
# Ports that are published to the outside. # Ports that are published to the outside.
@ -68,4 +73,4 @@ services:
- backend-codimd - backend-codimd
restart: always restart: always
depends_on: depends_on:
- database - DB