From e0bacf07108989afa1791cfdf2ea33f94052ea35 Mon Sep 17 00:00:00 2001 From: Mart van Santen <mart@greenhost.nl> Date: Fri, 26 Nov 2021 06:15:56 +0100 Subject: [PATCH] Specifiy config file location --- .gitlab-ci.yml | 4 ++++ kratos/Dockerfile | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3798c44..dd5242d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -114,6 +114,10 @@ behave-integration: POSTGRES_DB: postgres - name: ${CI_REGISTRY_IMAGE}/kratos:${CI_COMMIT_REF_NAME} alias: kratos + command: + - serve + - --config + - /etc/config/kratos.yaml - name: docker.io/oryd/hydra:v1.10.7-alpine alias: hydra command: diff --git a/kratos/Dockerfile b/kratos/Dockerfile index 788014f..fe191c3 100644 --- a/kratos/Dockerfile +++ b/kratos/Dockerfile @@ -4,6 +4,6 @@ FROM oryd/kratos:latest ENV DSN=postgres://postgres:postgres@postgres:5432/postgres COPY identity.default.schema.json /etc/config/identity.default.schema.json -COPY kratos.yaml /etc/config/kratos/kratos.yaml +COPY kratos.yaml /etc/config/kratos.yaml COPY kratos.yaml /etc/config/kratos/kratos.yml -- GitLab