update dev-db for new auth

This commit is contained in:
Jake Potrebic 2021-10-16 14:16:13 -07:00
parent 5aaf42ce28
commit 85ee8075b4
No known key found for this signature in database
GPG Key ID: 7C58557EC9C421F8
2 changed files with 3 additions and 9 deletions

View File

@ -1,4 +1,4 @@
\c hangar;
create extension hstore;
create extension pgcrypto;
CREATE EXTENSION hstore;
CREATE EXTENSION pgcrypto;

View File

@ -4,19 +4,13 @@ services:
db:
build: ./db
environment:
POSTGRES_MULTIPLE_DATABASES: hangarauth
POSTGRES_MULTIPLE_DATABASES: hydra,kratos
POSTGRES_DB: hangar
POSTGRES_USER: hangar
POSTGRES_PASSWORD: 'hangar'
ports:
- "5432:5432"
networks:
- web
volumes:
- db_data:/var/lib/postgresql/data
volumes:
db_data:
networks:
web:
name: traefik-overlay
external: true