wokring final build version

This commit is contained in:
2026-06-10 23:59:40 +02:00
parent 270d850572
commit 192143bfb6
61 changed files with 2184 additions and 639 deletions

View File

@@ -12,14 +12,13 @@ services:
depends_on:
- db
- redis
- rustfs
volumes:
- ./backend:/app
- static-data:/app/collectedstaticfiles
- media-data:/app/media
command: sh -c "
python manage.py migrate --noinput &&
python manage.py collectstatic --clear --noinput &&
python manage.py collectstatic --noinput &&
python manage.py seed_app_config &&
gunicorn -k uvicorn.workers.UvicornWorker vontor_cz.asgi:application --bind 0.0.0.0:8000 --timeout 600 --graceful-timeout 30 --workers 2"
ports:
@@ -67,7 +66,6 @@ services:
- redis
- db
- backend
- rustfs
networks:
- app_network
@@ -86,7 +84,6 @@ services:
- redis
- db
- backend
- rustfs
networks:
- app_network
@@ -159,10 +156,4 @@ volumes:
type: none
o: bind
device: ./volumes/media
rustfs-data:
driver: local
driver_opts:
type: none
o: bind
device: ./volumes/rustfs