Changed back to mysql
This commit is contained in:
@@ -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
|
||||
- /RancherCattle/${DATA_DIR}/Database:/var/lib/mysql
|
||||
- /RancherCattle/${DATA_DIR}/Setup:/setup
|
||||
Reference in New Issue
Block a user