settings split for development and production.py
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user