Adding a volume to MYSQL to ensure data persistence

Signed-off-by: Diogo Monica <diogo@docker.com>
This commit is contained in:
Diogo Monica 2015-12-11 16:36:04 -08:00
parent 26d30953c8
commit fd01151cd2
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,8 @@ notarysigner:
- notarymysql
command: -config=fixtures/signer-config.json
notarymysql:
volumes:
- notarymysql:/var/lib/mysql
build: ./notarymysql/
ports:
- "3306:3306"