From: Guillaume Pellerin Date: Wed, 8 Jun 2016 20:25:52 +0000 (+0200) Subject: use data/mysql for DB in production X-Git-Tag: 1.6.2^2~5 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=69116fc7f28aebe0fbc87eda30cf7852878478f2;p=telemeta.git use data/mysql for DB in production --- diff --git a/docker-compose.yml b/docker-compose.yml index e1270515..ea4d4619 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -35,6 +35,7 @@ db: image: mysql volumes: - ./scripts/:/srv/scripts + - ./data/mysql/:/var/lib/mysql volumes_from: - data env_file: diff --git a/env/dev.yml b/env/dev.yml index 4b22a6fc..25154156 100644 --- a/env/dev.yml +++ b/env/dev.yml @@ -32,3 +32,7 @@ app: worker: env_file: - env/debug.env + +db: + volumes: + - ./scripts/:/srv/scripts