]> git.parisson.com Git - telemeta.git/commitdiff
docker: fix lib volumes for db
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 15 Sep 2015 21:08:21 +0000 (23:08 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 15 Sep 2015 21:08:21 +0000 (23:08 +0200)
docker-compose.yml

index c5713133f0852af4eeaed82f1543e97f803a9814..762c32c4154c17058af6b309ade8dd7c468a2896 100644 (file)
@@ -33,6 +33,7 @@ log:
   volumes:
     - /var/log/nginx
     - /var/log/postgres
+    - /var/log/mysql
     - /var/log/uwsgi
     - /var/log/elasticsearch
   command: "true"
@@ -54,6 +55,9 @@ home:
 
 db:
   image: mysql
+  volumes_from:
+    - lib
+    - log
   environment:
     - MYSQL_ROOT_PASSWORD=mysecretpassword
     - MYSQL_DATABASE=sandbox