Make database table configurable through .env
This commit is contained in:
parent
52f35c856d
commit
f00c4391a2
@ -103,6 +103,7 @@ DATABASE_HOST=
|
||||
DATABASE_PASSWORD=
|
||||
DATABASE_PORT=
|
||||
DATABASE_USER=
|
||||
DATABASE_NAME=
|
||||
MEDIAFILE_DATABASE_NAME=
|
||||
MEDIAFILE_DATABASE_USER=
|
||||
MEDIAFILE_DATABASE_PASSWORD=
|
||||
|
@ -72,6 +72,7 @@ x-osserver-env: &default-osserver-env
|
||||
DATABASE_PASSWORD: "ifenvelse(`DATABASE_PASSWORD', openslides)"
|
||||
DATABASE_PORT: ifenvelse(`DATABASE_PORT', 5432)
|
||||
DATABASE_USER: "ifenvelse(`DATABASE_USER', openslides)"
|
||||
DATABASE_NAME: "ifenvelse(`DATABASE_NAME', openslides)"
|
||||
MEDIAFILE_DATABASE_NAME: "read_env(`MEDIAFILE_DATABASE_NAME')"
|
||||
MEDIAFILE_DATABASE_USER: "read_env(`MEDIAFILE_DATABASE_USER')"
|
||||
MEDIAFILE_DATABASE_PASSWORD: "read_env(`MEDIAFILE_DATABASE_PASSWORD')"
|
||||
|
@ -71,6 +71,7 @@ x-osserver-env: &default-osserver-env
|
||||
DATABASE_PASSWORD: "ifenvelse(`DATABASE_PASSWORD', openslides)"
|
||||
DATABASE_PORT: ifenvelse(`DATABASE_PORT', 5432)
|
||||
DATABASE_USER: "ifenvelse(`DATABASE_USER', openslides)"
|
||||
DATABASE_NAME: "ifenvelse(`DATABASE_NAME', openslides)"
|
||||
MEDIAFILE_DATABASE_NAME: "read_env(`MEDIAFILE_DATABASE_NAME')"
|
||||
MEDIAFILE_DATABASE_USER: "read_env(`MEDIAFILE_DATABASE_USER')"
|
||||
MEDIAFILE_DATABASE_PASSWORD: "read_env(`MEDIAFILE_DATABASE_PASSWORD')"
|
||||
|
Loading…
Reference in New Issue
Block a user