hedgedoc. Fixing database initialization in docker-compose.yml.

This commit is contained in:
Alexey Skobkin 2024-09-21 20:50:23 +03:00
parent 14b947ab9e
commit e78ebee8ec
Signed by: skobkin
GPG key ID: 4389E670595BF8A8

View file

@ -9,8 +9,8 @@ services:
- 'TZ=${TIMEZONE:-Europe/Moscow}' - 'TZ=${TIMEZONE:-Europe/Moscow}'
- 'DB_HOST=${DATABASE_HOST:-host.docker.internal}' - 'DB_HOST=${DATABASE_HOST:-host.docker.internal}'
- 'DB_PORT=${DATABASE_PORT:-3306}' - 'DB_PORT=${DATABASE_PORT:-3306}'
- 'DB_USER=hedgedoc' - 'DB_USER=${DATABASE_USER:-hedgedoc}'
- 'DB_PASS=<secret password>' - 'DB_PASS=${DATABASE_PASS}'
- 'DB_NAME=${DATABASE_NAME:-hedgedoc}' - 'DB_NAME=${DATABASE_NAME:-hedgedoc}'
- 'CMD_DOMAIN=${DOMAIN}' - 'CMD_DOMAIN=${DOMAIN}'
#- 'CMD_URL_ADDPORT=false' #optional #- 'CMD_URL_ADDPORT=false' #optional