Changed data directory to be just "/Rancher"

This commit is contained in:
William Miceli
2019-05-10 22:26:51 -04:00
parent ea02dfb0e7
commit c46b373762
16 changed files with 41 additions and 41 deletions

View File

@@ -23,4 +23,4 @@ services:
{{- end}} {{- end}}
restart: on-failure restart: on-failure
volumes: volumes:
- /RancherCattle/${DATA_DIR}/Data:/data - /Rancher/${DATA_DIR}/Data:/data

View File

@@ -32,4 +32,4 @@ 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}/Content:/var/lib/ghost/content - /Rancher/${DATA_DIR}/Content:/var/lib/ghost/content

View File

@@ -41,6 +41,6 @@ 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}/Config:/etc/gitlab - /Rancher/${DATA_DIR}/Config:/etc/gitlab
- /RancherCattle/${DATA_DIR}/Logs:/var/log/gitlab - /Rancher/${DATA_DIR}/Logs:/var/log/gitlab
- /RancherCattle/${DATA_DIR}/Data:/var/opt/gitlab - /Rancher/${DATA_DIR}/Data:/var/opt/gitlab

View File

@@ -40,7 +40,7 @@ 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}/Data:/data - /Rancher/${DATA_DIR}/Data:/data
postgres: postgres:
image: postgres:9.6 image: postgres:9.6
dns: dns:
@@ -59,4 +59,4 @@ 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 - /Rancher/${DATA_DIR}/Database:/var/lib/postgresql/data

View File

@@ -37,7 +37,7 @@ 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}/Setup:/setup # Used to make initial setup much simpler - /Rancher/${DATA_DIR}/Setup:/setup # Used to make initial setup much simpler
guacd: guacd:
image: guacamole/guacd:latest image: guacamole/guacd:latest
dns: dns:
@@ -73,5 +73,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/mysql - /Rancher/${DATA_DIR}/Database:/var/lib/mysql
- /RancherCattle/${DATA_DIR}/Setup:/setup # Used to make initial setup much simpler - /Rancher/${DATA_DIR}/Setup:/setup # Used to make initial setup much simpler

View File

@@ -34,6 +34,6 @@ services:
restart: on-failure restart: on-failure
volumes: volumes:
{{- if eq .Values.PERSIST_CONF "true"}} {{- if eq .Values.PERSIST_CONF "true"}}
- /RancherCattle/${DATA_DIR}/Configuration:/usr/local/apache2/conf - /Rancher/${DATA_DIR}/Configuration:/usr/local/apache2/conf
{{- end}} {{- end}}
- /RancherCattle/${DATA_DIR}/Public-HTML:/usr/local/apache2/htdocs/ - /Rancher/${DATA_DIR}/Public-HTML:/usr/local/apache2/htdocs/

View File

@@ -18,9 +18,9 @@ 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}/Configuration/Invoice Ninja/.env:/var/www/app/.env - /Rancher/${DATA_DIR}/Configuration/Invoice Ninja/.env:/var/www/app/.env
- /RancherCattle/${DATA_DIR}/Logo:/var/www/app/public/logo - /Rancher/${DATA_DIR}/Logo:/var/www/app/public/logo
- /RancherCattle/${DATA_DIR}/Storage:/var/www/app/storage - /Rancher/${DATA_DIR}/Storage:/var/www/app/storage
cron: cron:
image: invoiceninja/invoiceninja:latest image: invoiceninja/invoiceninja:latest
dns: dns:
@@ -67,7 +67,7 @@ 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/mysql - /Rancher/${DATA_DIR}/Database:/var/lib/mysql
nginx: nginx:
image: nginx image: nginx
dns: dns:
@@ -95,6 +95,6 @@ services:
- invoiceninja - invoiceninja
restart: on-failure restart: on-failure
volumes: volumes:
- /RancherCattle/${DATA_DIR}/Configuration/NGINX/nginx.conf:/etc/nginx/nginx.conf:ro - /Rancher/${DATA_DIR}/Configuration/NGINX/nginx.conf:/etc/nginx/nginx.conf:ro
volumes_from: volumes_from:
- invoiceninja - invoiceninja

View File

@@ -59,10 +59,10 @@ 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}/Apps:/var/www/html/custom_apps # Nextcloud apps - /Rancher/${DATA_DIR}/Apps:/var/www/html/custom_apps # Nextcloud apps
- /RancherCattle/${DATA_DIR}/Configuration:/var/www/html/config # Nextcloud configuration files - /Rancher/${DATA_DIR}/Configuration:/var/www/html/config # Nextcloud configuration files
- /RancherCattle/${DATA_DIR}/Nextcloud:/var/www/html # Nextcloud site - /Rancher/${DATA_DIR}/Nextcloud:/var/www/html # Nextcloud site
- /RancherCattle/${DATA_DIR}/UserData:/var/www/html/data # Users' data file - /Rancher/${DATA_DIR}/UserData:/var/www/html/data # Users' data file
mysql: mysql:
image: mysql:5 image: mysql:5
dns: # Using Cloudflare DNS dns: # Using Cloudflare DNS
@@ -83,7 +83,7 @@ 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/mysql - /Rancher/${DATA_DIR}/Database:/var/lib/mysql
{{- if eq .Values.REDIS "true"}} {{- if eq .Values.REDIS "true"}}
redis: redis:
image: redis:alpine image: redis:alpine

View File

@@ -29,6 +29,6 @@ services:
- /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
{{- if eq .Values.PERSIST_CONF "true"}} {{- if eq .Values.PERSIST_CONF "true"}}
- /RancherCattle/${DATA_DIR}/Configuration:/etc/nginx - /Rancher/${DATA_DIR}/Configuration:/etc/nginx
{{- end}} {{- end}}
- /RancherCattle/${DATA_DIR}/HTML:/usr/share/nginx/html - /Rancher/${DATA_DIR}/HTML:/usr/share/nginx/html

View File

@@ -43,6 +43,6 @@ 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/9.6/main - /Rancher/${DATA_DIR}/Database:/var/lib/postgresql/9.6/main
- /RancherCattle/${DATA_DIR}/Logs:/var/log/supervisor - /Rancher/${DATA_DIR}/Logs:/var/log/supervisor
- /RancherCattle/${DATA_DIR}/Static:/var/db/openproject - /Rancher/${DATA_DIR}/Static:/var/db/openproject

View File

@@ -20,7 +20,7 @@ services:
- /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
{{- if .Values.DATA_DIR}} {{- if .Values.DATA_DIR}}
{{- if eq .Values.CUSTOM_CONF "true"}} {{- if eq .Values.CUSTOM_CONF "true"}}
- /RancherCattle/${DATA_DIR}/Configuration/redis.conf:/usr/local/etc/redis/redis.conf - /Rancher/${DATA_DIR}/Configuration/redis.conf:/usr/local/etc/redis/redis.conf
{{- end}} {{- end}}
- /RancherCattle/${DATA_DIR}/Data:/data - /Rancher/${DATA_DIR}/Data:/data
{{- end}} {{- end}}

View File

@@ -44,8 +44,8 @@ services:
{{- end}} {{- end}}
traefik.enable: false traefik.enable: false
volumes: volumes:
- /RancherCattle/${DATA_DIR}/Database/Data:/data/db - /Rancher/${DATA_DIR}/Database/Data:/data/db
- /RancherCattle/${DATA_DIR}/Database/Dump:/dump - /Rancher/${DATA_DIR}/Database/Dump:/dump
command: mongod --smallfiles command: mongod --smallfiles
rocketchat: rocketchat:
image: rocketchat/rocket.chat:latest image: rocketchat/rocket.chat:latest

View File

@@ -38,8 +38,8 @@ 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}/Application:/var/lib/snipeit - /Rancher/${DATA_DIR}/Application:/var/lib/snipeit
- /RancherCattle/${DATA_DIR}/Backups:/var/www/html/storage/app/backups - /Rancher/${DATA_DIR}/Backups:/var/www/html/storage/app/backups
mysql: mysql:
image: mysql:5 image: mysql:5
dns: dns:
@@ -60,4 +60,4 @@ 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/mysql - /Rancher/${DATA_DIR}/Database:/var/lib/mysql

View File

@@ -23,6 +23,6 @@ services:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
- /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}/Configuration/traefik.toml:/traefik.toml - /Rancher/${DATA_DIR}/Configuration/traefik.toml:/traefik.toml
- /RancherCattle/${DATA_DIR}/LetsEncrypt/acme.json:/acme.json # For Let's Encrypt certificates - /Rancher/${DATA_DIR}/LetsEncrypt/acme.json:/acme.json # For Let's Encrypt certificates
- /RancherCattle/${DATA_DIR}/Logs:/external/logs - /Rancher/${DATA_DIR}/Logs:/external/logs

View File

@@ -34,7 +34,7 @@ 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}/Wordpress:/var/www/html - /Rancher/${DATA_DIR}/Wordpress:/var/www/html
mysql: mysql:
image: mysql:5 image: mysql:5
dns: dns:
@@ -54,4 +54,4 @@ 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/mysql - /Rancher/${DATA_DIR}/Database:/var/lib/mysql

View File

@@ -36,7 +36,7 @@ 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}/XWiki:/usr/local/xwiki - /Rancher/${DATA_DIR}/XWiki:/usr/local/xwiki
postgresql: postgresql:
image: postgres:alpine image: postgres:alpine
dns: dns:
@@ -61,4 +61,4 @@ 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 - /Rancher/${DATA_DIR}/Database:/var/lib/postgresql/data