Skip to content

Commit 901ab94

Browse files
committed
fix: restore data persistence and fix poetry export in build
1 parent 0f43dcb commit 901ab94

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

infra/docker/Dockerfile.base

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FROM python:3.13-slim AS builder
44
WORKDIR /app
55
ENV POETRY_VERSION=2.0.1
66

7-
RUN pip install --no-cache-dir "poetry==$POETRY_VERSION"
7+
RUN pip install --no-cache-dir "poetry==$POETRY_VERSION" poetry-plugin-export
88
COPY pyproject.toml poetry.lock ./
99
RUN poetry export -f requirements.txt --output requirements.txt --without dev
1010

infra/docker/docker-compose.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,14 @@ services:
4747

4848
volumes:
4949
postgres_data:
50+
external: true
51+
name: docker_postgres_data
5052
redis_data:
53+
external: true
54+
name: docker_redis_data
5155
qdrant_data:
52-
n8n_data:
56+
external: true
57+
name: docker_qdrant_data
58+
n8n_data:
59+
external: true
60+
name: docker_n8n_data

scripts/deploy.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,4 @@ docker compose -f docker-compose.yml -f infra/docker-compose.prod.yml run --rm b
2323
echo "🔌 Starting all services..."
2424
docker compose -f docker-compose.yml -f infra/docker-compose.prod.yml up -d --scale backend=2
2525

26-
# 6. Запуск моніторингу
27-
echo "📊 Starting monitoring stack..."
28-
docker compose -f infra/monitoring/docker-compose.monitoring.yml up -d
29-
3026
echo "✅ Deployment complete!"

0 commit comments

Comments
 (0)