From: Guillaume Pellerin Date: Tue, 3 May 2016 12:42:29 +0000 (+0200) Subject: rm .init, add ES port 9200 X-Git-Tag: 1.6.2^2~33 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=c142c801790cbaa96fa72236daefffeb4ddf9ca9;p=telemeta.git rm .init, add ES port 9200 --- diff --git a/app/scripts/app.sh b/app/scripts/app.sh index 46d4b3a4..1f2568a6 100644 --- a/app/scripts/app.sh +++ b/app/scripts/app.sh @@ -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 & diff --git a/docker-compose.yml b/docker-compose.yml index 159b94fd..9e14897d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -45,6 +45,8 @@ broker: search: image: elasticsearch:1 + ports: + - "9200:9200" app: build: .