Minor tweaks to default setup
This commit is contained in:
@@ -3,11 +3,9 @@ services:
|
|||||||
|
|
||||||
traefik:
|
traefik:
|
||||||
image: traefik:latest
|
image: traefik:latest
|
||||||
command: --api --docker
|
|
||||||
labels:
|
labels:
|
||||||
io.rancher.container.agent.role: environment
|
io.rancher.container.agent.role: environment
|
||||||
io.rancher.container.create_agent: true
|
io.rancher.container.create_agent: true
|
||||||
io.rancher.container.hostname_override: traefik
|
|
||||||
io.rancher.container.pull_image: always
|
io.rancher.container.pull_image: always
|
||||||
{{- if (.Values.HOST_LABEL)}}
|
{{- if (.Values.HOST_LABEL)}}
|
||||||
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
||||||
@@ -18,7 +16,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
- "443:443"
|
- "443:443"
|
||||||
- "8080:8080"
|
- "${DASHBOARD_PORT}:8080"
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
|||||||
@@ -15,4 +15,12 @@ catalog:
|
|||||||
The Key/Value pair on the host which the stack should be deployed.
|
The Key/Value pair on the host which the stack should be deployed.
|
||||||
default: "host.id=Proxy1"
|
default: "host.id=Proxy1"
|
||||||
required: false
|
required: false
|
||||||
|
type: string
|
||||||
|
|
||||||
|
- variable: DASHBOARD_PORT
|
||||||
|
label: Port
|
||||||
|
description: |
|
||||||
|
The port to access the dashboard interface on.
|
||||||
|
default: "1200"
|
||||||
|
required: true
|
||||||
type: string
|
type: string
|
||||||
Reference in New Issue
Block a user