]> git.parisson.com Git - timeside.git/commitdiff
Docker-compose: get datamedia volume from examples/sandbox/media + clean-up
authorThomas Fillon <thomas@parisson.com>
Tue, 3 Mar 2015 14:15:00 +0000 (15:15 +0100)
committerThomas Fillon <thomas@parisson.com>
Tue, 3 Mar 2015 14:15:00 +0000 (15:15 +0100)
docker-compose.yml

index 338668f610077457fea9da2a07b27382d93f7d10..922c385254d80f2046088bf2044a2d326146aa1a 100644 (file)
@@ -7,7 +7,7 @@ datadb:
 datamedia:
   image: debian:wheezy
   volumes:
-    - /media
+    - ./examples/sandbox/media:/media
   command: /bin/true
 
 datastatic:
@@ -32,11 +32,8 @@ nginx:
   image: nginx
   ports:
     - "8000:80"
-    - "8001:443"
   volumes:
     - ./examples/deploy/nginx/sites-enabled/app.conf:/etc/nginx/conf.d/default.conf
-    - /media
-    #- ./examples/deploy/static/:/var/www/static
   volumes_from:
     - datastatic
     - datamedia 
@@ -47,7 +44,6 @@ app:
   build: .
   volumes:
     - .:/opt/TimeSide
-    #- ./examples/deploy/static/:/var/www/static
   volumes_from:
     - datastatic
     - datamedia