Allowed disabling of local access

This commit is contained in:
WilliamMiceli
2018-11-18 17:38:11 -05:00
parent e2935e698f
commit e4bb26a8d0
2 changed files with 7 additions and 1 deletions

View File

@@ -43,8 +43,13 @@ services:
- mysql
networks:
- public-proxy
{{- if .Values.WEB_PORT}}
ports:
- "${WEB_PORT}:80"
{{- else}}
expose:
- "80"
{{- end}}
restart: on-failure
volumes:
- /RancherCattleData/${DATA_DIR}/Application:/var/lib/snipeit

View File

@@ -29,8 +29,9 @@ catalog:
label: "Local Web Port"
description: |
The port to locally access the web interface on.
Leaving this empty will not expose a any port on the host system, disabling local access outside of it's Rancher network.
default: "10300"
required: true
required: false
type: string
- variable: "DATA_DIR"