Removed Rancher NFS, not worth the hassle
This commit is contained in:
@@ -17,9 +17,9 @@ services:
|
|||||||
NEXTCLOUD_ADMIN_PASSWORD: ${NC_ADMIN_PASS}
|
NEXTCLOUD_ADMIN_PASSWORD: ${NC_ADMIN_PASS}
|
||||||
labels:
|
labels:
|
||||||
# io.rancher.container.hostname_override: container_name
|
# io.rancher.container.hostname_override: container_name
|
||||||
{{- if (.Values.HOST_LABEL)}}
|
{{- if (.Values.HOST_LABEL)}}
|
||||||
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
traefik.enable: true
|
traefik.enable: true
|
||||||
traefik.alias: cloudtest
|
traefik.alias: cloudtest
|
||||||
traefik.domain: williammiceli.systems
|
traefik.domain: williammiceli.systems
|
||||||
@@ -35,8 +35,8 @@ services:
|
|||||||
- "${HOST_HTTP_PORT}:80"
|
- "${HOST_HTTP_PORT}:80"
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud_app:/var/www/html
|
- /RancherStorage/Nextcloud/Application:/var/www/html
|
||||||
- nextcloud_data:/var/www/html/data
|
- /RancherStorage/Nextcloud/UserData:/var/www/html/data
|
||||||
|
|
||||||
mysql:
|
mysql:
|
||||||
image: mysql:5
|
image: mysql:5
|
||||||
@@ -49,30 +49,17 @@ services:
|
|||||||
MYSQL_USER: nextcloud_user
|
MYSQL_USER: nextcloud_user
|
||||||
MYSQL_PASSWORD: ${DB_USER_PASS}
|
MYSQL_PASSWORD: ${DB_USER_PASS}
|
||||||
labels:
|
labels:
|
||||||
{{- if (.Values.HOST_LABEL)}}
|
{{- if (.Values.HOST_LABEL)}}
|
||||||
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
networks:
|
networks:
|
||||||
- nextcloud-net
|
- nextcloud-net
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud_db:/var/lib/mysql
|
- /RancherStorage/Nextcloud/Database:/var/lib/mysql
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
nextcloud-net:
|
nextcloud-net:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
public:
|
public:
|
||||||
external: true
|
external: true
|
||||||
volumes:
|
|
||||||
nextcloud_app:
|
|
||||||
driver: rancher-nfs
|
|
||||||
driver_opts:
|
|
||||||
onRemove: retain
|
|
||||||
nextcloud_data:
|
|
||||||
driver: rancher-nfs
|
|
||||||
driver_opts:
|
|
||||||
onRemove: retain
|
|
||||||
nextcloud_db:
|
|
||||||
driver: rancher-nfs
|
|
||||||
driver_opts:
|
|
||||||
onRemove: retain
|
|
||||||
Reference in New Issue
Block a user