From b006788226a452edea2ef0dc7918eda6b37b3438 Mon Sep 17 00:00:00 2001 From: Mart van Santen <mart@greenhost.nl> Date: Fri, 26 Nov 2021 10:54:42 +0100 Subject: [PATCH] Moved DSN to image specific var --- .gitlab-ci.yml | 1 - hydra/Dockerfile | 1 + kratos/Dockerfile | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 67f0f27..94bec1e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -168,7 +168,6 @@ behave-integration: PUBLIC_URL: "http://localhost:5000/" DATABASE_URL: "postgres://postgres:postgres@postgres/postgres" # For hydra & kratos - DSN: "postgres://hydra:hydra@postgres/hydra" # For hydra URLS_SELF_ISSUER: http://localhost/ URLS_CONSENT: http://oidc:5000/login diff --git a/hydra/Dockerfile b/hydra/Dockerfile index 6044b90..dd2862f 100644 --- a/hydra/Dockerfile +++ b/hydra/Dockerfile @@ -7,6 +7,7 @@ FROM oryd/hydra:latest +ENV DSN="postgres://hydra:hydra@postgres/hydra" #COPY identity.default.schema.json /etc/config/identity.default.schema.json #COPY kratos.yaml /etc/config/kratos.yaml diff --git a/kratos/Dockerfile b/kratos/Dockerfile index 3faf752..cd2af48 100644 --- a/kratos/Dockerfile +++ b/kratos/Dockerfile @@ -7,7 +7,7 @@ FROM oryd/kratos:latest-sqlite -ENV DSN=memory +ENV DSN="postgres://kratos:kratos@postgres/kratos" COPY identity.default.schema.json /etc/config/identity.default.schema.json COPY kratos.yaml /etc/config/kratos.yaml -- GitLab