From 88fed8b118d4ddb075436c7df474302b00d529be Mon Sep 17 00:00:00 2001 From: WilliamMiceli <9000802+WilliamMiceli@users.noreply.github.com> Date: Tue, 17 Jul 2018 06:57:03 -0400 Subject: [PATCH] Miscellaneous updates --- templates/SnipeIT/0/docker-compose.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/SnipeIT/0/docker-compose.yml b/templates/SnipeIT/0/docker-compose.yml index 1fec245..2d741f4 100644 --- a/templates/SnipeIT/0/docker-compose.yml +++ b/templates/SnipeIT/0/docker-compose.yml @@ -19,10 +19,11 @@ services: MYSQL_PASSWORD: ${DB_USER_PASS} APP_ENV: labels: -{{- if (.Values.HOST_LABEL)}} + {{- if (.Values.HOST_LABEL)}} io.rancher.scheduler.affinity:host_label: ${HOST_LABEL} -{{- end}} + {{- end}} networks: + - default - snipe-net ports: - "${HOST_HTTP_PORT}:80" @@ -42,9 +43,9 @@ services: MYSQL_USER: snipe_user MYSQL_PASSWORD: ${DB_USER_PASS} labels: -{{- if (.Values.HOST_LABEL)}} + {{- if (.Values.HOST_LABEL)}} io.rancher.scheduler.affinity:host_label: ${HOST_LABEL} -{{- end}} + {{- end}} networks: - snipe-net restart: on-failure @@ -52,5 +53,4 @@ services: - ${STORAGE_BASE_DIR}${DB_DIR}:/var/lib/mysql networks: - snipe-net: - driver: bridge \ No newline at end of file + snipe-net: \ No newline at end of file