consolidate into one docker-compose.yml

pull/1/head
Tao Bror Bojlén 2019-07-14 14:40:35 +01:00
rodzic 6267e18f98
commit f292d09b01
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: C6EC7AAB905F9E6F
1 zmienionych plików z 20 dodań i 0 usunięć

Wyświetl plik

@ -8,6 +8,8 @@ services:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
networks:
- database_network
# This is for running the occasional graph layout task. It's in docker-compose.yml so that it's built at the same time
# as everything else, but it should be run regularly with a cron job or similar.
gephi:
@ -18,6 +20,24 @@ services:
- gradle-cache:/code/.gradle
depends_on:
- db
networks:
- database_network
phoenix:
build: ./backend
networks:
- database_network
depends_on:
- db
ports:
- "${PORT}:${PORT}"
environment:
- DATABASE_URL
- SECRET_KEY_BASE
- PORT
- BACKEND_HOSTNAME
volumes:
pgdata:
gradle-cache:
networks:
database_network:
driver: bridge