settings split for development and production.py

This commit is contained in:
2025-08-04 19:26:38 +03:00
parent f501be9794
commit 8294db9189
35 changed files with 711 additions and 66 deletions
+1 -3
View File
@@ -38,8 +38,7 @@ services:
networks:
- app-network
command: >
bash -c "sleep 10 &&\
python manage.py collectstatic --noinput --verbosity 3 &&\
bash -c "python manage.py collectstatic --noinput --verbosity 3 &&\
python manage.py migrate &&\
gunicorn DepoT.wsgi:application --bind 0.0.0.0:8000 --workers 3"
@@ -70,7 +69,6 @@ services:
condition: service_healthy
entrypoint: >
/bin/sh -c "
sleep 10;
mc alias set myminio http://minio:9000 kikimor shushunka1;
mc mb myminio/damages;
mc mb myminio/static;