Moved from rancher-nfs to local volume mounting
This commit is contained in:
@@ -23,12 +23,4 @@ services:
|
|||||||
{{- end}}
|
{{- end}}
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
volumes:
|
volumes:
|
||||||
- Data:/data
|
- /RancherCattleData/${DATA_DIR}/Data:/data
|
||||||
|
|
||||||
volumes:
|
|
||||||
Data:
|
|
||||||
driver: rancher-nfs
|
|
||||||
driver_opts:
|
|
||||||
host: 10.0.10.21
|
|
||||||
export: /RancherCattleData/${DATA_DIR}/Data
|
|
||||||
onRemove: retain
|
|
||||||
@@ -33,19 +33,5 @@ services:
|
|||||||
restart: on-failure
|
restart: on-failure
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- Data:/data
|
- /RancherCattleData/${DATA_DIR}/Data:/data
|
||||||
- Repo:/repo
|
- /RancherCattleData/${DATA_DIR}/Repo:/repo
|
||||||
|
|
||||||
volumes:
|
|
||||||
Data:
|
|
||||||
driver: rancher-nfs
|
|
||||||
driver_opts:
|
|
||||||
host: 10.0.10.21
|
|
||||||
export: /RancherCattleData/${DATA_DIR}/Data
|
|
||||||
onRemove: retain
|
|
||||||
Repo:
|
|
||||||
driver: rancher-nfs
|
|
||||||
driver_opts:
|
|
||||||
host: 10.0.10.21
|
|
||||||
export: /RancherCattleData/${DATA_DIR}/Repo
|
|
||||||
onRemove: retain
|
|
||||||
@@ -30,16 +30,8 @@ services:
|
|||||||
- "${WEB_PORT}:2368"
|
- "${WEB_PORT}:2368"
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
volumes:
|
volumes:
|
||||||
- Content:/var/lib/ghost/content
|
- /RancherCattleData/${DATA_DIR}/Content:/var/lib/ghost/content
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
public-proxy:
|
public-proxy:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
volumes:
|
|
||||||
Content:
|
|
||||||
driver: rancher-nfs
|
|
||||||
driver_opts:
|
|
||||||
host: 10.0.10.21
|
|
||||||
export: /RancherCattleData/${DATA_DIR}/Content
|
|
||||||
onRemove: retain
|
|
||||||
@@ -32,8 +32,8 @@ services:
|
|||||||
- mysql
|
- mysql
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
volumes:
|
volumes:
|
||||||
- Logo:/var/www/app/public/logo
|
- /RancherCattleData/${DATA_DIR}/Logo:/var/www/app/public/logo
|
||||||
- Storage:/var/www/app/storage
|
- /RancherCattleData/${DATA_DIR}/Storage:/var/www/app/storage
|
||||||
cron:
|
cron:
|
||||||
image: invoiceninja/invoiceninja:latest
|
image: invoiceninja/invoiceninja:latest
|
||||||
dns:
|
dns:
|
||||||
@@ -93,7 +93,7 @@ services:
|
|||||||
{{- end}}
|
{{- end}}
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
volumes:
|
volumes:
|
||||||
- Database:/var/lib/mysql
|
- /RancherCattleData/${DATA_DIR}/Database:/var/lib/mysql
|
||||||
web:
|
web:
|
||||||
image: nginx
|
image: nginx
|
||||||
command: [nginx-debug, '-g', 'daemon off;']
|
command: [nginx-debug, '-g', 'daemon off;']
|
||||||
@@ -129,23 +129,3 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
public-proxy:
|
public-proxy:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
volumes:
|
|
||||||
Database:
|
|
||||||
driver: rancher-nfs
|
|
||||||
driver_opts:
|
|
||||||
host: 10.0.10.21
|
|
||||||
export: /RancherCattleData/${DATA_DIR}/Database
|
|
||||||
onRemove: retain
|
|
||||||
Logo:
|
|
||||||
driver: rancher-nfs
|
|
||||||
driver_opts:
|
|
||||||
host: 10.0.10.21
|
|
||||||
export: /RancherCattleData/${DATA_DIR}/Logo
|
|
||||||
onRemove: retain
|
|
||||||
Storage:
|
|
||||||
driver: rancher-nfs
|
|
||||||
driver_opts:
|
|
||||||
host: 10.0.10.21
|
|
||||||
export: /RancherCattleData/${DATA_DIR}/Storage
|
|
||||||
onRemove: retain
|
|
||||||
@@ -36,8 +36,8 @@ services:
|
|||||||
- "${WEB_PORT}:80"
|
- "${WEB_PORT}:80"
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
volumes:
|
volumes:
|
||||||
- Application:/var/www/html
|
- /RancherCattleData/${DATA_DIR}/Application:/var/www/html
|
||||||
- UserData:/var/www/html/data
|
- /RancherCattleData/${DATA_DIR}/UserData:/var/www/html/data
|
||||||
mysql:
|
mysql:
|
||||||
image: mysql:5
|
image: mysql:5
|
||||||
dns:
|
dns:
|
||||||
@@ -55,28 +55,8 @@ services:
|
|||||||
{{- end}}
|
{{- end}}
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
volumes:
|
volumes:
|
||||||
- Database:/var/lib/mysql
|
- /RancherCattleData/${DATA_DIR}/Database:/var/lib/mysql
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
public-proxy:
|
public-proxy:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
volumes:
|
|
||||||
Application:
|
|
||||||
driver: rancher-nfs
|
|
||||||
driver_opts:
|
|
||||||
host: 10.0.10.21
|
|
||||||
export: /RancherCattleData/${DATA_DIR}/Application
|
|
||||||
onRemove: retain
|
|
||||||
Database:
|
|
||||||
driver: rancher-nfs
|
|
||||||
driver_opts:
|
|
||||||
host: 10.0.10.21
|
|
||||||
export: /RancherCattleData/${DATA_DIR}/Database
|
|
||||||
onRemove: retain
|
|
||||||
UserData:
|
|
||||||
driver: rancher-nfs
|
|
||||||
driver_opts:
|
|
||||||
host: 10.0.10.21
|
|
||||||
export: /RancherCattleData/${DATA_DIR}/UserData
|
|
||||||
onRemove: retain
|
|
||||||
Reference in New Issue
Block a user