-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (45 loc) · 1.4 KB
/
Copy pathdocker-compose.yml
File metadata and controls
47 lines (45 loc) · 1.4 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
version: '3.8'
services:
relay-server:
#image: ghcr.io/usnavy13/piboat-server/relay-server:latest
# Uncomment the build section if you want to build locally instead
build:
context: .
dockerfile: server.Dockerfile
ports:
- "${RELAY_SERVER_EXTERNAL_PORT}:8000"
environment:
- MAX_RECONNECT_ATTEMPTS=${MAX_RECONNECT_ATTEMPTS}
- RECONNECT_INTERVAL=${RECONNECT_INTERVAL}
- LOG_LEVEL=${LOG_LEVEL}
- DEBUG_MODE=${DEBUG_MODE}
- CONNECTION_TIMEOUT=${CONNECTION_TIMEOUT}
- PING_INTERVAL=${PING_INTERVAL}
- WEBRTC_ICE_SERVERS=${WEBRTC_ICE_SERVERS}
- TELEMETRY_BUFFER_SIZE=${TELEMETRY_BUFFER_SIZE}
volumes:
- ./logs:/app/logs
restart: on-failure:5
# healthcheck:
# test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
# interval: 30s
# timeout: 10s
# retries: 3
# start_period: 10s
web-client:
#image: ghcr.io/usnavy13/piboat-server/web-client:latest
# Uncomment the build section if you want to build locally instead
build:
context: .
dockerfile: web-client.Dockerfile
ports:
- "${WEB_CLIENT_EXTERNAL_PORT}:8080"
environment:
- RELAY_SERVER=${RELAY_SERVER_URL}
- LOG_LEVEL=${LOG_LEVEL}
volumes:
- ./logs/web_client:/app/logs
restart: unless-stopped
# depends_on:
# relay-server:
# condition: service_healthy