Changed back to mysql
This commit is contained in:
@@ -8,10 +8,10 @@ services:
|
|||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
environment:
|
environment:
|
||||||
GUACD_HOSTNAME: guacd
|
GUACD_HOSTNAME: guacd
|
||||||
POSTGRES_HOSTNAME: postgres
|
MYSQL_HOSTNAME: mysql
|
||||||
POSTGRES_DATABASE: guacamole_db
|
MYSQL_DATABASE: guacamole_db
|
||||||
POSTGRES_USER: guacamole_user
|
MYSQL_USER: guacamole_user
|
||||||
POSTGRES_PASSWORD: ${DB_USER_PASS}
|
MYSQL_PASSWORD: ${DB_USER_PASS}
|
||||||
labels:
|
labels:
|
||||||
io.rancher.container.pull_image: always
|
io.rancher.container.pull_image: always
|
||||||
{{- if .Values.HOST_LABEL}}
|
{{- if .Values.HOST_LABEL}}
|
||||||
@@ -30,12 +30,12 @@ services:
|
|||||||
### End Web Segment
|
### End Web Segment
|
||||||
links:
|
links:
|
||||||
- guacd
|
- guacd
|
||||||
- postgres
|
- mysql
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro # Syncronize time of container with the host system
|
- /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
|
- /etc/timezone:/etc/timezone:ro # Syncronize timezone of container with the host system
|
||||||
- /RancherCattle/${DATA_DIR}/Setup:/Setup
|
- /RancherCattle/${DATA_DIR}/Setup:/setup
|
||||||
guacd:
|
guacd:
|
||||||
image: guacamole/guacd:latest
|
image: guacamole/guacd:latest
|
||||||
dns:
|
dns:
|
||||||
@@ -51,16 +51,16 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro # Syncronize time of container with the host system
|
- /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
|
- /etc/timezone:/etc/timezone:ro # Syncronize timezone of container with the host system
|
||||||
postgres:
|
mysql:
|
||||||
image: postgres:alpine
|
image: mysql:5
|
||||||
dns:
|
dns:
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_DB: guacamole_db
|
MYSQL_DB: guacamole_db
|
||||||
POSTGRES_ROOT_PASSWORD: ${DB_ROOT_PASS}
|
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASS}
|
||||||
POSTGRES_USER: guacamole_user
|
MYSQL_USER: guacamole_user
|
||||||
POSTGRES_PASSWORD: ${DB_USER_PASS}
|
MYSQL_PASSWORD: ${DB_USER_PASS}
|
||||||
labels:
|
labels:
|
||||||
io.rancher.container.pull_image: always
|
io.rancher.container.pull_image: always
|
||||||
{{- if .Values.HOST_LABEL}}
|
{{- if .Values.HOST_LABEL}}
|
||||||
@@ -71,5 +71,5 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro # Syncronize time of container with the host system
|
- /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
|
- /etc/timezone:/etc/timezone:ro # Syncronize timezone of container with the host system
|
||||||
- /RancherCattle/${DATA_DIR}/Database:/var/lib/postgresql/data
|
- /RancherCattle/${DATA_DIR}/Database:/var/lib/mysql
|
||||||
- /RancherCattle/${DATA_DIR}/Setup:/Setup
|
- /RancherCattle/${DATA_DIR}/Setup:/setup
|
||||||
Reference in New Issue
Block a user