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

49 lines
1.1 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:
- "5432:5432"
volumes:
- ./build/postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
2020-03-08 14:16:48 -04:00
- ./build/postgres/export_local_db.sh:/export_local_db.sh
2020-03-08 11:16:53 -04:00
2020-03-07 13:59:09 -05:00
parser:
2020-02-06 16:26:32 -05:00
environment:
DATABASE_URL: "postgres://dev:dev@db:5432/t2_stats"
2020-03-08 14:16:48 -04:00
ports:
2020-03-29 11:31:16 -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-03-29 11:31:16 -04:00
web:
environment:
DB_USER: "dev"
DB_PASSWORD: "dev"
CACHE_VIEWS: "false"
NODE_ENV: "development" # auto-reloads app on save, dev builds
WEBPACK_HMR: "true" # default is false -- this is useful for when you're focused on Frontend Dev
ports:
- "8080:8080" # adonis http port
- "8081:8081" # webpack-dev-server port
volumes:
- ./app/webapp:/app
2020-03-15 14:53:11 -04:00
# api:
# volumes:
2020-03-29 11:31:16 -04:00
# - ./app/api:/home/node/app
secrets:
adonis.appkey:
external: false
file: ./docker-secrets/adonis.appkey.v1