python_mozaggregator/docker-compose.yml

29 строки
563 B
YAML
Исходник Постоянная ссылка Обычный вид История

version: '2.1'
services:
db:
image: postgres:9.4
ports:
- "5432:5432"
environment:
- POSTGRES_HOST_AUTH_METHOD=trust
web:
build:
context: .
dockerfile: Dockerfile.dev
ports:
2018-03-10 01:52:22 +03:00
- "5000:5000"
depends_on:
- db
2018-03-15 00:10:26 +03:00
command: serve
volumes:
- ./:/app/
- ${GOOGLE_APPLICATION_CREDENTIALS:-./setup.py}:/app/.credentials
environment:
- GOOGLE_APPLICATION_CREDENTIALS=/app/.credentials
- PROJECT_ID
- TMP_AVRO_PATH
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY