do it the other way around

Signed-off-by: MiniDigger <admin@minidigger.me>
This commit is contained in:
MiniDigger 2020-10-01 10:29:40 +02:00
parent b216eeff2e
commit 36cfc4176d
3 changed files with 6 additions and 3 deletions

View File

@ -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:

View File

@ -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:

View File

@ -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: