From 9b926aed59c5559cb7e8e2f1d35fd9e200a2ec89 Mon Sep 17 00:00:00 2001 From: WilliamMiceli Date: Wed, 16 Jan 2019 16:57:56 -0500 Subject: [PATCH] Changed back to mysql --- templates/Guacamole/0/docker-compose.yml | 28 ++++++++++++------------ 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/templates/Guacamole/0/docker-compose.yml b/templates/Guacamole/0/docker-compose.yml index b6ea2ed..c278ea0 100644 --- a/templates/Guacamole/0/docker-compose.yml +++ b/templates/Guacamole/0/docker-compose.yml @@ -8,10 +8,10 @@ services: - 1.0.0.1 environment: GUACD_HOSTNAME: guacd - POSTGRES_HOSTNAME: postgres - POSTGRES_DATABASE: guacamole_db - POSTGRES_USER: guacamole_user - POSTGRES_PASSWORD: ${DB_USER_PASS} + MYSQL_HOSTNAME: mysql + MYSQL_DATABASE: guacamole_db + MYSQL_USER: guacamole_user + MYSQL_PASSWORD: ${DB_USER_PASS} labels: io.rancher.container.pull_image: always {{- if .Values.HOST_LABEL}} @@ -30,12 +30,12 @@ services: ### End Web Segment links: - guacd - - postgres + - mysql restart: on-failure volumes: - /etc/localtime:/etc/localtime:ro # Syncronize time of container with the host system - /etc/timezone:/etc/timezone:ro # Syncronize timezone of container with the host system - - /RancherCattle/${DATA_DIR}/Setup:/Setup + - /RancherCattle/${DATA_DIR}/Setup:/setup guacd: image: guacamole/guacd:latest dns: @@ -51,16 +51,16 @@ services: volumes: - /etc/localtime:/etc/localtime:ro # Syncronize time of container with the host system - /etc/timezone:/etc/timezone:ro # Syncronize timezone of container with the host system - postgres: - image: postgres:alpine + mysql: + image: mysql:5 dns: - 1.1.1.1 - 1.0.0.1 environment: - POSTGRES_DB: guacamole_db - POSTGRES_ROOT_PASSWORD: ${DB_ROOT_PASS} - POSTGRES_USER: guacamole_user - POSTGRES_PASSWORD: ${DB_USER_PASS} + MYSQL_DB: guacamole_db + MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASS} + MYSQL_USER: guacamole_user + MYSQL_PASSWORD: ${DB_USER_PASS} labels: io.rancher.container.pull_image: always {{- if .Values.HOST_LABEL}} @@ -71,5 +71,5 @@ services: volumes: - /etc/localtime:/etc/localtime:ro # Syncronize time of container with the host system - /etc/timezone:/etc/timezone:ro # Syncronize timezone of container with the host system - - /RancherCattle/${DATA_DIR}/Database:/var/lib/postgresql/data - - /RancherCattle/${DATA_DIR}/Setup:/Setup \ No newline at end of file + - /RancherCattle/${DATA_DIR}/Database:/var/lib/mysql + - /RancherCattle/${DATA_DIR}/Setup:/setup \ No newline at end of file