fix(traefik environment): added labels for traefik
This commit is contained in:
parent
49f38cf8da
commit
9682aa79c5
@ -7,16 +7,15 @@ app:
|
||||
volumes:
|
||||
- app-data:/opt/molgenis
|
||||
labels:
|
||||
io.rancher.container.create_agent: 'true'
|
||||
io.rancher.scheduler.global: 'true'
|
||||
io.rancher.container.create_agent: true
|
||||
io.rancher.scheduler.global: true
|
||||
traefik.frontend.rule: Host:${DOMAINS}
|
||||
traefik.backend: ${TRAEFIK_BACKEND}
|
||||
traefik.enable: true
|
||||
traefik.port: 8080
|
||||
db:
|
||||
build: ./db
|
||||
expose:
|
||||
- 5432
|
||||
volumes:
|
||||
- db-data:/var/lib/postgresql/data
|
||||
labels:
|
||||
io.rancher.container.create_agent: 'true'
|
||||
volumes:
|
||||
db-data:
|
||||
app-data:
|
||||
|
@ -10,6 +10,12 @@
|
||||
required: true
|
||||
default: "test.molgenis.org,test.dcktest.gcc.rug.nl"
|
||||
type: "string"
|
||||
- variable: "TRAEFIK_BACKEND"
|
||||
description: "Name of the server when added to loadbalancer"
|
||||
label: "Backend:"
|
||||
required: true
|
||||
default: "test.molgenis.org"
|
||||
type: "string"
|
||||
|
||||
start_on_create: true
|
||||
scale: 1
|
||||
|
@ -9,6 +9,10 @@ app:
|
||||
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:
|
||||
image: postgres:9.6-alpine
|
||||
|
@ -10,6 +10,12 @@
|
||||
required: true
|
||||
default: "test.molgenis.org,test.dcktest.gcc.rug.nl"
|
||||
type: "string"
|
||||
- variable: "TRAEFIK_BACKEND"
|
||||
description: "Name of the server when added to loadbalancer"
|
||||
label: "Backend:"
|
||||
required: true
|
||||
default: "test.molgenis.org"
|
||||
type: "string"
|
||||
|
||||
start_on_create: true
|
||||
scale: 1
|
||||
|
@ -12,6 +12,7 @@
|
||||
io.rancher.container.pull_image: always
|
||||
io.rancher.scheduler.global: true
|
||||
traefik.frontend.rule: Host:${DOMAINS}
|
||||
traefik.backend: ${TRAEFIK_BACKEND}
|
||||
traefik.enable: true
|
||||
traefik.port: 8080
|
||||
|
||||
|
@ -10,6 +10,12 @@
|
||||
required: true
|
||||
default: "test.molgenis.org,test.dcktest.gcc.rug.nl"
|
||||
type: "string"
|
||||
- variable: "TRAEFIK_BACKEND"
|
||||
description: "Name of the server when added to loadbalancer"
|
||||
label: "Backend:"
|
||||
required: true
|
||||
default: "test.molgenis.org"
|
||||
type: "string"
|
||||
|
||||
start_on_create: true
|
||||
scale: 1
|
||||
|
@ -12,6 +12,7 @@
|
||||
io.rancher.container.pull_image: always
|
||||
io.rancher.scheduler.global: true
|
||||
traefik.frontend.rule: Host:${DOMAINS}
|
||||
traefik.backend: ${TRAEFIK_BACKEND}
|
||||
traefik.enable: true
|
||||
traefik.port: 8080
|
||||
|
||||
|
@ -10,6 +10,12 @@
|
||||
required: true
|
||||
default: "test.molgenis.org,test.dcktest.gcc.rug.nl"
|
||||
type: "string"
|
||||
- variable: "TRAEFIK_BACKEND"
|
||||
description: "Name of the server when added to loadbalancer"
|
||||
label: "Backend:"
|
||||
required: true
|
||||
default: "test.molgenis.org"
|
||||
type: "string"
|
||||
|
||||
start_on_create: true
|
||||
scale: 1
|
||||
|
Loading…
Reference in New Issue
Block a user