Miscellaneous updates
This commit is contained in:
@@ -19,10 +19,11 @@ services:
|
|||||||
MYSQL_PASSWORD: ${DB_USER_PASS}
|
MYSQL_PASSWORD: ${DB_USER_PASS}
|
||||||
APP_ENV:
|
APP_ENV:
|
||||||
labels:
|
labels:
|
||||||
{{- if (.Values.HOST_LABEL)}}
|
{{- if (.Values.HOST_LABEL)}}
|
||||||
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
networks:
|
networks:
|
||||||
|
- default
|
||||||
- snipe-net
|
- snipe-net
|
||||||
ports:
|
ports:
|
||||||
- "${HOST_HTTP_PORT}:80"
|
- "${HOST_HTTP_PORT}:80"
|
||||||
@@ -42,9 +43,9 @@ services:
|
|||||||
MYSQL_USER: snipe_user
|
MYSQL_USER: snipe_user
|
||||||
MYSQL_PASSWORD: ${DB_USER_PASS}
|
MYSQL_PASSWORD: ${DB_USER_PASS}
|
||||||
labels:
|
labels:
|
||||||
{{- if (.Values.HOST_LABEL)}}
|
{{- if (.Values.HOST_LABEL)}}
|
||||||
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
networks:
|
networks:
|
||||||
- snipe-net
|
- snipe-net
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
@@ -53,4 +54,3 @@ services:
|
|||||||
|
|
||||||
networks:
|
networks:
|
||||||
snipe-net:
|
snipe-net:
|
||||||
driver: bridge
|
|
||||||
Reference in New Issue
Block a user