funkwhale/api/config/settings
jo 216a858010 feat(api): split DATABASE_URL into multiple config variables
Introduces new database environment variables while keeping
backward compatibility with the now deprecated
POSTGRES_ENV_POSTGRES_USER POSTGRES_ENV_POSTGRES_PASSWORD
environment variables.

DATABASE_URL defaults to an auto generated url using the
`DATABASE_HOST`, `DATABASE_PORT`, `DATABASE_USER`,
`DATABASE_PASSWORD` and `DATABASE_NAME` variables.

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2313>
2023-01-12 18:23:50 +00:00
..
__init__.py refactor: upgrade code to >=python3.7 (pre-commit) 2022-11-23 22:08:55 +00:00
common.py feat(api): split DATABASE_URL into multiple config variables 2023-01-12 18:23:50 +00:00
local.py refactor: upgrade code to >=python3.7 (pre-commit) 2022-11-23 22:08:55 +00:00
production.py refactor: upgrade code to >=python3.7 (pre-commit) 2022-11-23 22:08:55 +00:00