]> git.parisson.com Git - mezzo.git/commitdiff
make /var/lib/mysql a non local volume in dev mode (for OSX)
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 27 Jun 2016 22:14:13 +0000 (00:14 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 27 Jun 2016 22:14:49 +0000 (00:14 +0200)
app/magazine/models.py
env/dev.yml

index 8b53b52b56762bd4c92ff60a34c831d305b79b95..267d5cdf212cff0a0eddc3556c6dfc43fc519e9b 100644 (file)
@@ -2,8 +2,6 @@ from __future__ import unicode_literals
 
 from django.db import models
 
-# Create your models here.
-
 
 class Category(BaseNameModel):
     """(Category description)"""
index 6f1da9da90258c489aa6b65c6be3a78059606fd6..95ea9e44fe8461c40b811c948cd6ea16cbcdce7c 100644 (file)
@@ -23,6 +23,7 @@ app:
   command: /bin/sh scripts/app.sh --runserver
   volumes:
     - ./app/:/srv/app
+    - /var/lib/mysql
   ports:
     - "9020:8000"
   environment: