aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/app/plume
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-05-04 16:39:25 +0200
committerAlex Auvolat <alex@adnab.me>2023-05-04 16:39:25 +0200
commitf3cd2e98b4bd26294464c5152b7082fc8a6b9ff2 (patch)
tree52dabc8baf57b4d8d4a1a9420c5244419386f8e7 /cluster/prod/app/plume
parente23b52346742ebd9cb039e3af705ba150492cd1e (diff)
downloadnixcfg-f3cd2e98b4bd26294464c5152b7082fc8a6b9ff2.tar.gz
nixcfg-f3cd2e98b4bd26294464c5152b7082fc8a6b9ff2.zip
multisite postgres, orient plume to correct db
Diffstat (limited to 'cluster/prod/app/plume')
-rw-r--r--cluster/prod/app/plume/config/app.env2
1 files changed, 1 insertions, 1 deletions
diff --git a/cluster/prod/app/plume/config/app.env b/cluster/prod/app/plume/config/app.env
index 5c9ede6..b751bd6 100644
--- a/cluster/prod/app/plume/config/app.env
+++ b/cluster/prod/app/plume/config/app.env
@@ -12,7 +12,7 @@ ROCKET_SECRET_KEY={{ key "secrets/plume/secret_key" | trimSpace }}
POSTGRES_PASSWORD={{ key "secrets/plume/pgsql_pw" | trimSpace }}
POSTGRES_USER=plume
POSTGRES_DB=plume
-DATABASE_URL=postgres://plume:{{ key "secrets/plume/pgsql_pw" | trimSpace }}@psql-proxy.service.prod.consul:5432/plume
+DATABASE_URL=postgres://plume:{{ key "secrets/plume/pgsql_pw" | trimSpace }}@{{ env "meta.site" }}.psql-proxy.service.prod.consul:5432/plume
MIGRATION_DIRECTORY=migrations/postgres
USE_HTTPS=0