Completed configuration, now to test
This commit is contained in:
@@ -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
|
||||
@@ -33,3 +33,27 @@ catalog:
|
||||
default: "10700"
|
||||
required: true
|
||||
type: string
|
||||
|
||||
- variable: "DB_ROOT_PASS"
|
||||
label: "MySQL Root Password"
|
||||
description: |
|
||||
A secure password to be used by the "root" MySQL user.
|
||||
# default:
|
||||
required: true
|
||||
type: password
|
||||
|
||||
- variable: "DB_USER_PASS"
|
||||
label: "MySQL User Password"
|
||||
description: |
|
||||
A secure password to be used by the "nextcloud_user" MySQL user.
|
||||
# default:
|
||||
required: true
|
||||
type: password
|
||||
|
||||
- variable: "DATA_DIR"
|
||||
label: "Data Directory"
|
||||
description: |
|
||||
The directory to store persistent data for the stack.
|
||||
default: "Personal/Nextcloud"
|
||||
required: true
|
||||
type: string
|
||||
Reference in New Issue
Block a user