experimenter/docker-compose.yml.circleci

29 строки
472 B
Plaintext
Исходник Обычный вид История

2017-05-08 23:52:26 +03:00
version: "3"
2017-05-08 23:52:26 +03:00
services:
app:
image: app:build
env_file: .env
stdin_open: true
tty: true
links:
- db
command: ["/app/bin/wait-for-it.sh", "db:5432", "--", "python", "/app/manage.py", "runserver", "0:7001"]
networks:
- private_nw
2017-05-08 23:52:26 +03:00
db:
restart: always
image: postgres:9.6
volumes:
- db_volume:/var/lib/postgresql
networks:
- private_nw
volumes:
db_volume:
networks:
private_nw:
internal: true