Minor tweaks to default setup
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user