2019-07-14 11:47:06 +00:00
|
|
|
version: "3"
|
2019-02-20 16:18:12 +00:00
|
|
|
services:
|
|
|
|
db:
|
|
|
|
image: postgres
|
|
|
|
environment:
|
2019-07-14 11:47:06 +00:00
|
|
|
- DATABASE_URL
|
2019-02-20 16:18:12 +00:00
|
|
|
ports:
|
|
|
|
- "5432:5432"
|
|
|
|
volumes:
|
|
|
|
- pgdata:/var/lib/postgresql/data
|
2019-02-21 12:32:50 +00:00
|
|
|
# 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:
|
|
|
|
environment:
|
2019-07-14 11:47:06 +00:00
|
|
|
- DATABASE_URL
|
2019-02-21 12:32:50 +00:00
|
|
|
build: ./gephi
|
|
|
|
volumes:
|
|
|
|
- gradle-cache:/code/.gradle
|
|
|
|
depends_on:
|
|
|
|
- db
|
2019-02-20 16:18:12 +00:00
|
|
|
volumes:
|
|
|
|
pgdata:
|
2019-02-21 12:32:50 +00:00
|
|
|
gradle-cache:
|