Skip to content
Snippets Groups Projects
Commit 88aae6fc authored by Nico Vermaas's avatar Nico Vermaas
Browse files

reconfiguring atdb for ldv

parent 6a171c34
No related branches found
No related tags found
No related merge requests found
......@@ -2,4 +2,3 @@
Apertif Task Database for LOFAR Data Valorization
-
......@@ -10,19 +10,18 @@ RUN \
pip install -r requirements/prod.txt && \
pip install https://support.astron.nl/nexus/content/repositories/snapshots/nl/astron/alta/ALTA_interface_lib/ALTA_interface_lib-1.0.0-dev-20180925_011101.tar.gz --upgrade && \
apk --purge del .build-deps
CMD exec gunicorn atdb.wsgi_docker_dop457:application --bind 0.0.0.0:8000 --workers 3
CMD exec gunicorn atdb.wsgi_docker_sdc:application --bind 0.0.0.0:8000 --workers 3
# RUN exec python manage.py collectstatic --settings=atdb.settings.prod
# EXPOSE 8010
# build the image like this:
# docker build -t atdb_web:latest .
# docker build -t atdb-ldv:latest .
# run the container from here, like this:
# docker run -d --name atdb_web -p 8010:8000 --restart always atdb_web:latest
# docker run -d --name atdb-ldv -p 8010:8000 --restart always atdb-ldv:latest
# log into the container
# docker exec -it atdb_web sh
# docker exec -it atdb-ldv sh
# tail logs
# docker exec -it atdb_web tailr -f logs/atdb.log
# docker exec -it atdb-ldv tail -f logs/atdb.log
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment