t2-stat-parser/docker-compose.override.yml

59 lines
1.3 KiB
YAML
Raw Normal View History

2020-02-06 16:26:32 -05:00
version: "3.7"
# Service Definitions
services:
2020-03-08 11:16:53 -04:00
db:
environment:
POSTGRES_DB: "t2_stats"
2020-03-08 11:16:53 -04:00
POSTGRES_USER: "dev"
POSTGRES_PASSWORD: "dev"
2020-03-08 14:16:48 -04:00
ports:
2020-08-31 16:27:31 -04:00
- "5432:5432"
volumes:
- ./build/postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
2020-08-31 16:27:31 -04:00
- ./build/postgres/export_local_db.sh:/export_local_db.sh
2021-04-30 22:02:11 -04:00
# - ./build/postgres/postgresql.conf:/var/lib/postgresql/data/postgresql.conf
2020-03-08 11:16:53 -04:00
2020-03-07 13:59:09 -05:00
parser:
2020-08-31 16:27:31 -04:00
environment:
2020-02-06 16:26:32 -05:00
DATABASE_URL: "postgres://dev:dev@db:5432/t2_stats"
2020-03-08 14:16:48 -04:00
ports:
2020-08-31 16:27:31 -04:00
- "8000:8080"
2020-02-06 16:26:32 -05:00
volumes:
2020-03-07 13:59:09 -05:00
- ./app/t2-stat-parser:/app
2020-03-15 14:53:11 -04:00
2020-08-31 16:27:31 -04:00
api:
2020-03-29 11:31:16 -04:00
environment:
2020-08-31 16:27:31 -04:00
NODE_ENV: "development" # auto-reloads app on save
env_file:
- .env
2020-03-29 11:31:16 -04:00
ports:
2020-08-31 16:27:31 -04:00
- "8080:8080"
- "8443:8443"
2020-03-29 11:31:16 -04:00
volumes:
2020-08-31 16:27:31 -04:00
- ./build/api/ecosystem._PROD_.config.js:/opt/node_app/ecosystem._PROD_.config.js
- ./build/api/ecosystem._DEV_.config.js:/opt/node_app/ecosystem._DEV_.config.js
- ./app/api:/opt/node_app/app:delegated
2020-03-29 11:31:16 -04:00
2020-08-31 16:27:31 -04:00
# temp vols
- notused:/opt/node_app/app/node_modules
- builtincontainer:/opt/node_app/app/dist
2021-04-30 22:02:11 -04:00
# pghero:
# image: ankane/pghero
# ports:
# - "9999:8080"
# environment:
# DATABASE_URL: "postgres://dev:dev@db:5432/t2_stats"
# networks:
# - internal
# - external
2020-03-29 11:31:16 -04:00
2020-08-31 16:27:31 -04:00
volumes:
notused:
builtincontainer: