]> git.parisson.com Git - telemeta.git/commitdiff
rm .init, add ES port 9200
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 3 May 2016 12:42:29 +0000 (14:42 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 3 May 2016 12:42:29 +0000 (14:42 +0200)
app/scripts/app.sh
docker-compose.yml

index 46d4b3a4cbd8e332552f856c13dbbed53d83d64c..1f2568a6220aa9f0fb83e03f0982b4907d6d362e 100644 (file)
@@ -30,12 +30,9 @@ python $manage migrate --noinput
 python $manage bower_install -- --allow-root
 python $manage collectstatic --noinput
 
-if [ ! -f .init ]; then
-    chown -R www-data:www-data $media
-    python $manage telemeta-create-admin-user
-    python $manage telemeta-create-boilerplate
-    touch .init
-fi
+# telemeta setup
+python $manage telemeta-create-admin-user
+python $manage telemeta-create-boilerplate
 
 if [ $DEBUG = "False" ]; then
     python $manage update_index --workers $processes &
index 159b94fd6ca8a5b488ae1a6ff2d8a1fcefad8fae..9e14897d6d95a0d3de78091fe69d93cf61e00817 100644 (file)
@@ -45,6 +45,8 @@ broker:
 
 search:
   image: elasticsearch:1
+  ports:
+    - "9200:9200"
 
 app:
   build: .