InformaticsMatters / squonk

Squonk platform and computational notebook
Apache License 2.0
8 stars 3 forks source link

Expose database and database user to environment #101

Closed alanbchristie closed 4 years ago

alanbchristie commented 4 years ago

The SquonkServerConfig class extracts the underlying database address and squonk database password from the environment variables POSTGRES_HOSTNAME and POSTGRES_SQUONK_PASSWORD but the database name and the database user/owner are hard-coded to squonk.

In order to deploy multiple squonk instances to the same (Kubernetes) cluster we will also need to expose the database and its owner to environment variables: -

alanbchristie commented 4 years ago

Squonk 0.3.6 now supports a database per deployment. Tested on Kubernetes.