From 36cfc4176de425291d15b9e7ab1c356d8163b2f9 Mon Sep 17 00:00:00 2001 From: MiniDigger Date: Thu, 1 Oct 2020 10:29:40 +0200 Subject: [PATCH] do it the other way around Signed-off-by: MiniDigger --- docker/deployment/docker-compose.yml | 3 ++- docker/dev-db.yml | 3 ++- docker/docker-compose.yml | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/docker/deployment/docker-compose.yml b/docker/deployment/docker-compose.yml index 18868348..8fd0d311 100644 --- a/docker/deployment/docker-compose.yml +++ b/docker/deployment/docker-compose.yml @@ -27,7 +27,8 @@ services: image: registry.gitlab.com/minidigger/hangar2/db:latest build: ./db environment: - POSTGRES_MULTIPLE_DATABASES: hangar,hangarauth + POSTGRES_MULTIPLE_DATABASES: hangarauth + POSTGRES_DB: hangar POSTGRES_USER: hangar POSTGRES_PASSWORD: 'hangar' ports: diff --git a/docker/dev-db.yml b/docker/dev-db.yml index ac66dd88..0c7d36f2 100644 --- a/docker/dev-db.yml +++ b/docker/dev-db.yml @@ -4,7 +4,8 @@ services: db: build: ./db environment: - POSTGRES_MULTIPLE_DATABASES: hangar,hangarauth + POSTGRES_MULTIPLE_DATABASES: hangarauth + POSTGRES_DB: hangar POSTGRES_USER: root POSTGRES_PASSWORD: 'changeme' ports: diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 8225c2e4..970ee47a 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -35,7 +35,8 @@ services: image: registry.gitlab.com/minidigger/hangar2/db:latest build: ./db environment: - POSTGRES_MULTIPLE_DATABASES: hangar,hangarauth + POSTGRES_MULTIPLE_DATABASES: hangarauth + POSTGRES_DB: hangar POSTGRES_USER: "user" POSTGRES_PASSWORD: "password" ports: