Compare commits

...

2 commits

Author SHA1 Message Date
Alexey Skobkin e78ebee8ec
hedgedoc. Fixing database initialization in docker-compose.yml. 2024-09-21 20:50:23 +03:00
Alexey Skobkin 14b947ab9e
hedgedoc. Fixing .env.dist examples. 2024-09-21 20:49:17 +03:00
2 changed files with 5 additions and 5 deletions

View file

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

View file

@ -14,9 +14,9 @@ DIR_CONFIG=./config
DATABASE_HOST=host.docker.internal
DATABASE_PORT=3306
DATABASE_NAME=
DATABASE_USER=
DATABASE_PASS
#DATABASE_NAME=hedgedoc
#DATABASE_USER=hedgedoc
DATABASE_PASS=*ChangeMe*
#DATABASE_DIALECT=postgres
TIMEZONE=Europe/Moscow