Логи и деплой поправил

This commit is contained in:
2025-11-25 10:54:12 +03:00
parent e24cf8a105
commit 68486d2283
6 changed files with 36 additions and 1673 deletions

View File

@@ -9,6 +9,7 @@ services:
- db
volumes:
- static_volume:/app/staticfiles
- ./logs:/app/logs
expose:
- 8000
@@ -18,12 +19,14 @@ services:
dockerfile: Dockerfile
env_file:
- .env.prod
entrypoint: []
#entrypoint: []
command: ["uv", "run", "celery", "-A", "dbapp", "worker", "--loglevel=INFO"]
depends_on:
- db
- redis
- web
volumes:
- ./logs:/app/logs
redis:
image: redis:7-alpine
@@ -53,7 +56,6 @@ services:
volumes:
- ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf:ro
- static_volume:/usr/share/nginx/html/static
# если у тебя медиа — можно замонтировать том media
volumes:
pgdata: