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

49 lines
1.1 KiB
YAML
Raw Normal View History

2020-02-06 21:26:32 +00:00
version: "3.7"
# Service Definitions
services:
2020-03-08 15:16:53 +00:00
db:
environment:
POSTGRES_DB: "t2_stats"
2020-03-08 15:16:53 +00:00
POSTGRES_USER: "dev"
POSTGRES_PASSWORD: "dev"
2020-03-08 18:16:48 +00:00
ports:
- "5432:5432"
volumes:
- ./build/postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
2020-03-08 18:16:48 +00:00
- ./build/postgres/export_local_db.sh:/export_local_db.sh
2020-03-08 15:16:53 +00:00
2020-03-07 18:59:09 +00:00
parser:
2020-02-06 21:26:32 +00:00
environment:
DATABASE_URL: "postgres://dev:dev@db:5432/t2_stats"
2020-03-08 18:16:48 +00:00
ports:
2020-03-29 15:31:16 +00:00
- "8000:8080"
2020-02-06 21:26:32 +00:00
volumes:
2020-03-07 18:59:09 +00:00
- ./app/t2-stat-parser:/app
2020-03-15 18:53:11 +00:00
2020-03-29 15:31:16 +00: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 18:53:11 +00:00
# api:
# volumes:
2020-03-29 15:31:16 +00:00
# - ./app/api:/home/node/app
secrets:
adonis.appkey:
external: false
file: ./docker-secrets/adonis.appkey.v1