index.community/docker-compose.production.yml

29 lines
467 B
YAML
Raw Normal View History

2019-07-14 11:47:06 +00:00
version: "3"
2019-02-20 16:18:12 +00:00
services:
db:
restart: always
networks:
- database_network
2019-07-14 11:47:06 +00:00
phoenix:
2019-02-20 16:18:12 +00:00
restart: always
2019-07-14 11:47:06 +00:00
build: ./backend
2019-02-20 16:18:12 +00:00
networks:
- database_network
2019-02-22 15:37:10 +00:00
depends_on:
2019-07-14 11:47:06 +00:00
- db
ports:
- "${PORT}:${PORT}"
2019-02-22 15:37:10 +00:00
environment:
2019-07-14 11:47:06 +00:00
- DATABASE_URL
- SECRET_KEY_BASE
- PORT
- BACKEND_HOSTNAME
2019-02-21 14:28:36 +00:00
gephi:
networks:
- database_network
2019-02-22 15:37:10 +00:00
depends_on:
- db
2019-02-20 16:18:12 +00:00
networks:
database_network:
driver: bridge