feat: Introduce Docker Compose setup for a Django application including PostgreSQL, Redis, and Celery services.

This commit is contained in:
2026-01-17 18:49:20 +03:00
parent 0ccef43ef6
commit 726cf65664
2 changed files with 7 additions and 7 deletions

View File

@@ -28,7 +28,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
WORKDIR /app
# Копируем requirements и устанавливаем зависимости
COPY requirements.txt .
COPY myproject/requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Копируем проект

View File

@@ -5,7 +5,7 @@ services:
container_name: mix_postgres
restart: unless-stopped
env_file:
- /Volume1/DockerAppsData/mixapp/app/myproject/docker/.env.docker
- .env.docker
volumes:
- /Volume1/DockerAppsData/mixapp/postgres:/var/lib/postgresql/data
healthcheck: