mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-11-27 22:38:34 +09:00
1b84760c19
* feat(backend): Load settings via environment variables If they're not loaded from the config file. * chore(docker): Add hints for environment variables It supports users to know about them. * docs(changelog): Add the description about this change Users can notice what's changed by this PR. * style(backend): Fix code syntax To pass the linter.
12 lines
353 B
Bash
12 lines
353 B
Bash
# misskey settings
|
|
# MISSKEY_URL=https://example.tld/
|
|
|
|
# db settings
|
|
POSTGRES_PASSWORD=example-misskey-pass
|
|
# DATABASE_PASSWORD=${POSTGRES_PASSWORD}
|
|
POSTGRES_USER=example-misskey-user
|
|
# DATABASE_USER=${POSTGRES_USER}
|
|
POSTGRES_DB=misskey
|
|
# DATABASE_DB=${POSTGRES_DB}
|
|
DATABASE_URL="postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}"
|