1
0

chore(docker-compose): updated services names

This commit is contained in:
sido 2018-03-17 21:42:53 +01:00
parent 9f5f3f0806
commit 687cd33d9d

View File

@ -1,4 +1,4 @@
app: molgenis:
image: registry.webhosting.rug.nl/molgenis/molgenis:latest image: registry.webhosting.rug.nl/molgenis/molgenis:latest
ports: ports:
- 8080 - 8080
@ -6,7 +6,7 @@
- app - app
- elasticsearch - elasticsearch
volumes: volumes:
- app-data - molgenis-data
environment: environment:
- "db_uri=jdbc:postgresql://postgres/${DB_SCHEME}?reWriteBatchedInserts=true&autosave=CONSERVATIVE" - "db_uri=jdbc:postgresql://postgres/${DB_SCHEME}?reWriteBatchedInserts=true&autosave=CONSERVATIVE"
- "db_driver=org.postgresql.Driver" - "db_driver=org.postgresql.Driver"
@ -24,7 +24,7 @@
traefik.enable: true traefik.enable: true
traefik.port: 8080 traefik.port: 8080
db: postgres:
image: postgres:9.6-alpine image: postgres:9.6-alpine
environment: environment:
- POSTGRES_USER=molgenis - POSTGRES_USER=molgenis
@ -32,7 +32,7 @@
- POSTGRES_DB=${DB_SCHEME} - POSTGRES_DB=${DB_SCHEME}
- PGDATA=/var/lib/postgresql/data/pgdata - PGDATA=/var/lib/postgresql/data/pgdata
volumes: volumes:
- db-data - postgres-data
ports: ports:
- 5432 - 5432
labels: labels:
@ -61,14 +61,14 @@
- 9200 - 9200
- 9300 - 9300
volumes: volumes:
- es-data - elastic-data
labels: labels:
#io.rancher.sidekicks: elasticsearch-data #io.rancher.sidekicks: elasticsearch-data
io.rancher.scheduler.global: true io.rancher.scheduler.global: true
volumes: volumes:
db-data: postgres-data:
app-data: molgenis-data:
es-data: elastic-data:
driver: local driver: local