diff --git a/docker-compose.yml b/docker-compose.yml index 8d00d4e..0ed3826 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -46,12 +46,17 @@ services: # - mysql://hackmd:hackmdpass@database:3306/hackmd # - sqlite:///data/sqlite.db (NOT RECOMMENDED) # - 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_URL_ADDPORT=false + - CMD_PROTOCOL_USESSL=true + #- CMD_EMAIL=false + #- CMD_ALLOW_EMAIL_REGISTER=false - CMD_ALLOW_ANONYMOUS=false - 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 # ports: # Ports that are published to the outside. @@ -68,4 +73,4 @@ services: - backend-codimd restart: always depends_on: - - database \ No newline at end of file + - DB \ No newline at end of file