2019-10-30 01:41:54 +03:00
|
|
|
version: '2.1'
|
2017-11-28 21:34:52 +03:00
|
|
|
|
|
|
|
services:
|
|
|
|
db:
|
|
|
|
image: postgres:9.4
|
2020-04-22 20:15:25 +03:00
|
|
|
ports:
|
|
|
|
- "5432:5432"
|
|
|
|
environment:
|
|
|
|
- POSTGRES_HOST_AUTH_METHOD=trust
|
2017-11-28 21:34:52 +03:00
|
|
|
|
|
|
|
web:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Dockerfile.dev
|
|
|
|
ports:
|
2018-03-10 01:52:22 +03:00
|
|
|
- "5000:5000"
|
2017-11-28 21:34:52 +03:00
|
|
|
depends_on:
|
|
|
|
- db
|
2018-03-15 00:10:26 +03:00
|
|
|
command: serve
|
2019-10-30 01:41:54 +03:00
|
|
|
volumes:
|
|
|
|
- ./:/app/
|
|
|
|
- ${GOOGLE_APPLICATION_CREDENTIALS:-./setup.py}:/app/.credentials
|
|
|
|
environment:
|
|
|
|
- GOOGLE_APPLICATION_CREDENTIALS=/app/.credentials
|
|
|
|
- PROJECT_ID
|
2019-11-06 21:11:53 +03:00
|
|
|
- TMP_AVRO_PATH
|
2019-10-30 01:41:54 +03:00
|
|
|
- AWS_ACCESS_KEY_ID
|
|
|
|
- AWS_SECRET_ACCESS_KEY
|