Completed configuration, now to test

This commit is contained in:
WilliamMiceli
2018-12-05 22:16:09 -05:00
parent 0cdc0df11f
commit d56255a21a
2 changed files with 43 additions and 5 deletions

View File

@@ -44,23 +44,37 @@ services:
- 1.0.0.1
environment:
labels:
networks:
ports:
io.rancher.container.pull_image: always
{{- if .Values.HOST_LABEL}}
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
{{- end}}
restart: on-failure
mysql:
image:
image: mysql:latest
dns:
- 1.1.1.1
- 1.0.0.1
environment:
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASS}
MYSQL_DATABASE: guacamole_db
MYSQL_USER: guacamole_user
MYSQL_PASSWORD: password
MYSQL_PASSWORD: ${DB_USER_PASS}
labels:
io.rancher.container.pull_image: always
{{- if .Values.HOST_LABEL}}
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
{{- end}}
networks:
ports:
db-admin:
aliases:
- guacamole
restart: on-failure
volumes:
- /etc/timezone:/etc/timezone:ro # Syncronize timezone of container with the host system
- /RancherCattleData/${DATA_DIR}/Database:/var/lib/mysql # MySQL Database to be persistent
networks:
db-admin:
external: true
public-proxy:
external: true