Prep deploy directives

This commit is contained in:
Anthony Mineo 2020-03-08 14:16:48 -04:00
parent cc1053eff0
commit 788cc09aec
2 changed files with 18 additions and 6 deletions

View file

@ -8,13 +8,17 @@ services:
POSTGRES_DB: "t2_stats"
POSTGRES_USER: "dev"
POSTGRES_PASSWORD: "dev"
ports:
- "5432:5432"
volumes:
- ./build/postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
- ./build/postgres/export_local_db.sh:/export_local_db.sh
- ./build/postgres/export_local_db.sh:/export_local_db.sh
parser:
environment:
DATABASE_URL: "postgres://dev:dev@db:5432/t2_stats"
ports:
- "8080:8080"
volumes:
- ./app/t2-stat-parser:/app