fix(traefik environment): added labels for traefik
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user