-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
50 lines (46 loc) · 1.63 KB
/
docker-compose.yml
File metadata and controls
50 lines (46 loc) · 1.63 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
49
50
# =============================================================================
# Interview Pendent Backend - Development Docker Compose
# =============================================================================
#
# Start all services: docker compose up -d
# Stop all services: docker compose down
# View logs: docker compose logs -f
# Reset data: docker compose down -v
#
# =============================================================================
services:
# ---------------------------------------------------------------------------
# PostgreSQL Database
# ---------------------------------------------------------------------------
postgres:
image: postgres:17
container_name: interview-pendent-be-postgres
environment:
POSTGRES_USER: admin
POSTGRES_PASSWORD: admin123
POSTGRES_DB: interview_db
ports:
- "5434:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U admin -d interview_db"]
interval: 10s
timeout: 5s
retries: 5
restart: unless-stopped
# ---------------------------------------------------------------------------
# LiveKit Server (Development)
# NOTE: Using host network mode for proper WebRTC/ICE connectivity
# ---------------------------------------------------------------------------
livekit:
container_name: interview-pendent-be-livekit
image: livekit/livekit-server:v1.9
command: --dev --bind 0.0.0.0
network_mode: host
restart: unless-stopped
volumes:
postgres_data:
networks:
default:
name: interview-pendent-be-network