Allowed disabling of local access
This commit is contained in:
@@ -43,8 +43,13 @@ services:
|
|||||||
- mysql
|
- mysql
|
||||||
networks:
|
networks:
|
||||||
- public-proxy
|
- public-proxy
|
||||||
|
{{- if .Values.WEB_PORT}}
|
||||||
ports:
|
ports:
|
||||||
- "${WEB_PORT}:80"
|
- "${WEB_PORT}:80"
|
||||||
|
{{- else}}
|
||||||
|
expose:
|
||||||
|
- "80"
|
||||||
|
{{- end}}
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
volumes:
|
volumes:
|
||||||
- /RancherCattleData/${DATA_DIR}/Application:/var/lib/snipeit
|
- /RancherCattleData/${DATA_DIR}/Application:/var/lib/snipeit
|
||||||
|
|||||||
@@ -29,8 +29,9 @@ catalog:
|
|||||||
label: "Local Web Port"
|
label: "Local Web Port"
|
||||||
description: |
|
description: |
|
||||||
The port to locally access the web interface on.
|
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"
|
default: "10300"
|
||||||
required: true
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
- variable: "DATA_DIR"
|
- variable: "DATA_DIR"
|
||||||
|
|||||||
Reference in New Issue
Block a user