]> git.parisson.com Git - mezzo.git/commitdiff
improve volumes
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 20 Jun 2016 09:23:47 +0000 (11:23 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 20 Jun 2016 09:23:47 +0000 (11:23 +0200)
docker-compose.yml

index 88ded13c3d99adf8c0b86a22abe54bb407b6e14a..6475806133845c9b0cd9043a4e7d3f2ca8ed0a1d 100644 (file)
@@ -23,15 +23,18 @@ data:
   image: debian:jessie
   volumes:
     - ./data/media/:/srv/media
-    - ./data/static/:/srv/static
     - ./data/backup/:/srv/backup
-    - ./scripts/:/srv/scripts
+    - /srv/static
+    - /srv/bower
   command: "true"
 
 db:
   image: mariadb
   volumes_from:
     - data
+  volumes:
+    - ./scripts/:/srv/scripts
+    - ./data/mysql/:/var/lib/mysql
   environment:
     - MYSQL_ROOT_PASSWORD=hyRob0otlaz4
     - MYSQL_DATABASE=ircam
@@ -50,7 +53,6 @@ app:
     - "8000"
   links:
     - db
-    - pgdb
   environment:
    - DEBUG=False