feat: created docker-compose.yml

This commit is contained in:
2024-05-15 16:52:54 +02:00
parent 3c25c115ca
commit 5562770912
7 changed files with 123 additions and 33 deletions
+2
View File
@@ -10,6 +10,8 @@ RUN_CELERY=${RUN_CELERY:="FALSE"}
if [ $RUN_SERVER = "TRUE" ]; then
chown -R www-data:www-data static/
python manage.py collectstatic --no-input
service nginx start
uvicorn --workers $ASGI_WORKERS --host $ASGI_HOST --port $ASGI_PORT config.asgi:application
elif [ $RUN_CELERY = "TRUE" ]; then