Moved from rancher-nfs to local volume mounting

This commit is contained in:
WilliamMiceli
2018-09-20 22:58:57 -04:00
parent 7ff358d41e
commit 4aab1c886b
5 changed files with 13 additions and 83 deletions

View File

@@ -33,19 +33,5 @@ services:
restart: on-failure
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- Data:/data
- 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
- /RancherCattleData/${DATA_DIR}/Data:/data
- /RancherCattleData/${DATA_DIR}/Repo:/repo