-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.e2e.yml
More file actions
48 lines (46 loc) · 1.22 KB
/
docker-compose.e2e.yml
File metadata and controls
48 lines (46 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
services:
db:
image: postgres:16-alpine
tmpfs:
- /var/lib/postgresql/data
environment:
POSTGRES_DB: vtf_e2e
POSTGRES_USER: vtf
POSTGRES_PASSWORD: vtftest
healthcheck:
test: ["CMD-SHELL", "pg_isready -U vtf -d vtf_e2e"]
interval: 2s
timeout: 2s
retries: 10
api:
build: .
command: python src/manage.py runserver 0.0.0.0:8000
volumes:
- ./src:/app/src
- ./tests:/app/tests
ports:
- "18000:8000"
depends_on:
db:
condition: service_healthy
environment:
DJANGO_SETTINGS_MODULE: vtaskforge.settings.dev
DATABASE_URL: postgres://vtf:vtftest@db:5432/vtf_e2e
SECRET_KEY: e2e-test-secret-key-not-for-production
mcp:
build: .
command: python -c "from mcp_server.server import run_server; run_server()"
volumes:
- ./src:/app/src
ports:
- "18002:8002"
depends_on:
db:
condition: service_healthy
environment:
VTF_MCP_TRANSPORT: http
VTF_MCP_HOST: "0.0.0.0"
VTF_MCP_PORT: "8002"
DATABASE_URL: postgres://vtf:vtftest@db:5432/vtf_e2e
DJANGO_SETTINGS_MODULE: vtaskforge.settings.dev
SECRET_KEY: e2e-test-secret-key-not-for-production