WIP: Docker enhancement

* reduces all needed containers into a single one
* simplifies initial startup command by adding docker-entrypoint.sh
This commit is contained in:
2022-04-26 08:55:07 +02:00
parent aa02dbab96
commit bcde400096
5 changed files with 14 additions and 33 deletions

7
docker-entrypoint.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
# Start all needed services inside the container!
service nginx start
service redis-server start
celery -A konova worker --detach
gunicorn konova.wsgi:application --bind 0.0.0.0:8000