consolidate into one docker-compose.yml
This commit is contained in:
parent
6267e18f98
commit
f292d09b01
|
@ -8,6 +8,8 @@ services:
|
||||||
- "5432:5432"
|
- "5432:5432"
|
||||||
volumes:
|
volumes:
|
||||||
- pgdata:/var/lib/postgresql/data
|
- 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
|
# 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.
|
# as everything else, but it should be run regularly with a cron job or similar.
|
||||||
gephi:
|
gephi:
|
||||||
|
@ -18,6 +20,24 @@ services:
|
||||||
- gradle-cache:/code/.gradle
|
- gradle-cache:/code/.gradle
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- 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:
|
volumes:
|
||||||
pgdata:
|
pgdata:
|
||||||
gradle-cache:
|
gradle-cache:
|
||||||
|
networks:
|
||||||
|
database_network:
|
||||||
|
driver: bridge
|
||||||
|
|
Loading…
Reference in a new issue