Maybe this will work...
This commit is contained in:
@@ -121,6 +121,7 @@ services:
|
|||||||
#- /RancherCattle/${DATA_DIR}/Logs/NGINX
|
#- /RancherCattle/${DATA_DIR}/Logs/NGINX
|
||||||
mysql:
|
mysql:
|
||||||
image: mysql:5
|
image: mysql:5
|
||||||
|
container_name: nextcloud
|
||||||
dns: # Using Cloudflare DNS
|
dns: # Using Cloudflare DNS
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
@@ -130,7 +131,7 @@ services:
|
|||||||
MYSQL_USER: nextcloud_user
|
MYSQL_USER: nextcloud_user
|
||||||
MYSQL_PASSWORD: ${DB_USER_PASS}
|
MYSQL_PASSWORD: ${DB_USER_PASS}
|
||||||
labels:
|
labels:
|
||||||
io.rancher.container.hostname_override: "nextcloud"
|
io.rancher.container.hostname_override: container_name
|
||||||
io.rancher.container.pull_image: always
|
io.rancher.container.pull_image: always
|
||||||
{{- if .Values.HOST_LABEL}}
|
{{- if .Values.HOST_LABEL}}
|
||||||
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
||||||
|
|||||||
Reference in New Issue
Block a user