Commit f326935d authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

docker.sock volume, ./bootstrap

parent 1e972c24
Pipeline #509 passed with stages
in 53 seconds
......@@ -23,7 +23,8 @@ RUN pip3 install --no-cache-dir -r requirements.txt \
ADD . .
CMD while ! nc -z postgres 5432; do sleep 1; done \
CMD /srv/dashboard/robotpkg/bootstrap/bootstrap \
&& while ! nc -z postgres 5432; do sleep 1; done \
&& ./manage.py migrate \
&& ./manage.py collectstatic --no-input \
&& gunicorn \
......
......@@ -33,4 +33,3 @@ echo TRAVIS_TOKEN=xxx >> .env
## TODO
- fix urls (https://api.github.com/repos/stack-of-tasks/pinocchio)
- ./bootstrap in robotpkg for `make show-var VARNAME=…`
......@@ -23,6 +23,7 @@ services:
- "srv:/srv"
- /srv/dashboard/repositories:/srv/dashboard/repositories
- /srv/dashboard/robotpkg:/srv/dashboard/robotpkg
- /var/run/docker.sock:/var/run/docker.sock
env_file:
- .env
environment:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment