* [pghero] New Service: Add pghero for dev env tooling

This commit is contained in:
Anthony Mineo 2021-04-30 21:17:37 -04:00
parent 53c66be747
commit 4bb29a22ff
3 changed files with 705 additions and 1 deletions

View file

@ -12,6 +12,7 @@ services:
volumes:
- ./build/postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
- ./build/postgres/export_local_db.sh:/export_local_db.sh
- ./build/postgres/postgresql.conf:/var/lib/postgresql/data/postgresql.conf
parser:
environment:
@ -38,8 +39,18 @@ services:
# temp vols
- notused:/opt/node_app/app/node_modules
- builtincontainer:/opt/node_app/app/dist
pghero:
image: ankane/pghero
ports:
- "9999:8080"
environment:
DATABASE_URL: "postgres://dev:dev@db:5432/t2_stats"
networks:
- internal
- external
volumes: