-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (40 loc) · 1.27 KB
/
Copy pathdocker-compose.yml
File metadata and controls
43 lines (40 loc) · 1.27 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
# ============================================================================
# CardLink GP OTA Tester - Docker Compose
# ============================================================================
# Usage:
# docker compose up # Start both server and dashboard
# docker compose up server # Start server only
# docker compose up dashboard # Start dashboard only
# docker compose up -d # Start in background
# docker compose logs -f # Follow logs
# docker compose down # Stop all
# ============================================================================
services:
server:
build:
context: .
target: server
ports:
- "${GP_SERVER_PORT:-8443}:8443"
volumes:
- ./keys.yaml:/app/keys.yaml:ro
- ./config.yaml:/app/config.yaml:ro
- server-data:/app/data
environment:
- GP_OTA_SERVER_HOST=0.0.0.0
- GP_OTA_SERVER_PORT=8443
restart: unless-stopped
dashboard:
build:
context: .
target: dashboard
ports:
- "${GP_DASHBOARD_PORT:-8082}:8082"
volumes:
- server-data:/app/data
depends_on:
server:
condition: service_healthy
restart: unless-stopped
volumes:
server-data: