]> git.parisson.com Git - telemeta.git/commitdiff
use data/mysql for DB in production
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 8 Jun 2016 20:25:52 +0000 (22:25 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 8 Jun 2016 20:25:52 +0000 (22:25 +0200)
docker-compose.yml
env/dev.yml

index e12705157d393e9532e86dee8131b5609f3ee383..ea4d46199f48055b52b07853b8176c4f94ccb964 100644 (file)
@@ -35,6 +35,7 @@ db:
   image: mysql
   volumes:
     - ./scripts/:/srv/scripts
+    - ./data/mysql/:/var/lib/mysql
   volumes_from:
     - data
   env_file:
index 4b22a6fcde38a22a5221fc3398635ec838964b18..25154156165e04bd074d4de8521f3aa3ecb05731 100644 (file)
@@ -32,3 +32,7 @@ app:
 worker:
   env_file:
     - env/debug.env
+
+db:
+  volumes:
+    - ./scripts/:/srv/scripts