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: -
The
SquonkServerConfig
class extracts the underlying database address and squonk database password from the environment variablesPOSTGRES_HOSTNAME
andPOSTGRES_SQUONK_PASSWORD
but the database name and the database user/owner are hard-coded tosquonk
.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: -
POSTGRES_SQUONK_USER
POSTGRES_SQUONK_DATABASE