feat(docker-compose): updated all volumes to local drivers
This commit is contained in:
@ -1,20 +1,22 @@
|
||||
app:
|
||||
image: registry.webhosting.rug.nl/molgenis/molgenis:4.1.0
|
||||
ports:
|
||||
- 8081:8080
|
||||
links:
|
||||
- db
|
||||
volumes_from:
|
||||
- molgenis-data
|
||||
labels:
|
||||
io.rancher.sidekicks: molgenis-data
|
||||
io.rancher.scheduler.global: true
|
||||
traefik.frontend.rule: Host:${DOMAINS}
|
||||
traefik.backend: ${TRAEFIK_BACKEND}
|
||||
traefik.enable: true
|
||||
traefik.port: 8080
|
||||
version: '2'
|
||||
services:
|
||||
molgenis:
|
||||
image: registry.webhosting.rug.nl/molgenis/molgenis:4.1.0
|
||||
ports:
|
||||
- 8080
|
||||
links:
|
||||
- postgres
|
||||
volumes:
|
||||
- molgenis-data
|
||||
labels:
|
||||
io.rancher.sidekicks: molgenis-data
|
||||
io.rancher.scheduler.global: true
|
||||
traefik.frontend.rule: Host:${DOMAINS}
|
||||
traefik.backend: ${TRAEFIK_BACKEND}
|
||||
traefik.enable: true
|
||||
traefik.port: 8080
|
||||
|
||||
db:
|
||||
postgres:
|
||||
image: postgres:9.6-alpine
|
||||
environment:
|
||||
- POSTGRES_USER=molgenis
|
||||
@ -22,21 +24,13 @@ app:
|
||||
- POSTGRES_DB=molgenis
|
||||
expose:
|
||||
- 5432
|
||||
volumes_from:
|
||||
volumes:
|
||||
- postgres-data
|
||||
labels:
|
||||
io.rancher.sidekicks: postgres-data
|
||||
io.rancher.scheduler.global: true
|
||||
|
||||
postgres-data:
|
||||
image: busybox
|
||||
labels:
|
||||
io.rancher.container.start_once: true
|
||||
volumes:
|
||||
- /var/lib/postgresql/data/pgdata
|
||||
volumes:
|
||||
molgenis-data:
|
||||
image: busybox
|
||||
labels:
|
||||
io.rancher.container.start_once: true
|
||||
volumes:
|
||||
- /opt/molgenis
|
||||
driver: local
|
||||
postgres-data:
|
||||
driver: local
|
@ -12,7 +12,7 @@
|
||||
type: "string"
|
||||
- variable: "TRAEFIK_BACKEND"
|
||||
description: "Name of the server when added to loadbalancer"
|
||||
label: "Backend:"
|
||||
label: "Traefik backend:"
|
||||
required: true
|
||||
default: "test.molgenis.org"
|
||||
type: "string"
|
||||
|
Reference in New Issue
Block a user