Allowed disabling of local access
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user