forked from avibe-bot/avibe
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.e2e-integration.yml
More file actions
36 lines (34 loc) · 944 Bytes
/
Copy pathdocker-compose.e2e-integration.yml
File metadata and controls
36 lines (34 loc) · 944 Bytes
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
# Full E2E integration test compose.
# Runs vibe-remote in full mode (service + UI) with platform connections.
#
# Usage:
# cp .env.e2e.example .env.e2e
# # Fill in tokens...
# docker compose -f docker-compose.e2e-integration.yml up -d
# pytest tests/e2e/ -v -k integration
services:
vibe:
build:
context: .
dockerfile: Dockerfile
target: integration
ports:
- "${VIBE_E2E_PORT:-15123}:5123"
env_file:
- .env.e2e
environment:
- VIBE_REMOTE_HOME=/data/vibe_remote
- VIBE_DEPLOYMENT_ENV=integration
- VIBE_UI_PORT=5123
- E2E_TEST_MODE=true
volumes:
- vibe-e2e-data:/data/vibe_remote
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:5123/health', timeout=3)"]
interval: 3s
timeout: 5s
retries: 20
start_period: 30s
command: ["full"]
volumes:
vibe-e2e-data: