Minor tweaks to default setup

This commit is contained in:
WilliamMiceli
2018-08-23 21:01:50 -04:00
parent cd2c9f9be1
commit ac939cde61
2 changed files with 9 additions and 3 deletions

View File

@@ -3,11 +3,9 @@ services:
traefik:
image: traefik:latest
command: --api --docker
labels:
io.rancher.container.agent.role: environment
io.rancher.container.create_agent: true
io.rancher.container.hostname_override: traefik
io.rancher.container.pull_image: always
{{- if (.Values.HOST_LABEL)}}
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
@@ -18,7 +16,7 @@ services:
ports:
- "80:80"
- "443:443"
- "8080:8080"
- "${DASHBOARD_PORT}:8080"
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock

View File

@@ -15,4 +15,12 @@ catalog:
The Key/Value pair on the host which the stack should be deployed.
default: "host.id=Proxy1"
required: false
type: string
- variable: DASHBOARD_PORT
label: Port
description: |
The port to access the dashboard interface on.
default: "1200"
required: true
type: string