added external volume defs again...

This commit is contained in:
Kevin Xu 2017-11-15 21:06:07 -08:00 committed by GitHub
parent d51cfc775e
commit aeaf4e2bbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,9 @@
version: '2'
volumes:
dbdata:
driver: rancher-nfs
dbinit:
driver: rancher-nfs
services:
database:
image: mariadb
@ -11,7 +16,6 @@ services:
volumes:
- dbdata:/var/lib/mysql
- dbinit:/docker-entrypoint-initdb.d
volume_driver: rancher-nfs
labels:
io.rancher.sidekicks: setup-get-db-script
setup-get-db-script: