forked from slowlydev/f1-dash
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
48 lines (42 loc) · 1.01 KB
/
compose.yaml
File metadata and controls
48 lines (42 loc) · 1.01 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:
live:
image: ghcr.io/slowlydev/f1-dash-live:latest
build:
context: .
target: live
restart: unless-stopped
ports:
- 4000:4000
environment:
- ORIGIN=http://localhost:3000
- LIVE_BACKEND_ADDRESS=0.0.0.0:4000
- RUST_LOG="live=debug"
api:
image: ghcr.io/slowlydev/f1-dash-api:latest
build:
context: .
target: api
restart: unless-stopped
ports:
- 4001:4001
environment:
- ORIGIN=http://localhost:3000
- API_BACKEND_ADDRESS=0.0.0.0:4001
- RUST_LOG="api=debug"
frontend:
image: ghcr.io/slowlydev/f1-dash:latest
build:
context: ./dash/
restart: unless-stopped
ports:
- 3000:3000
depends_on:
- api
- live
environment:
- NEXT_PUBLIC_LIVE_URL=http://localhost:4000
- API_URL=http://api:4001
- DISABLE_IFRAME=1
- TRACKING_ID=G-3ZKX0JY1QW
- TRACKING_URL=https://base.slowly.dev/rep.js
- NEXT_PUBLIC_MAP_KEY=lcgTreisBzMYLrFFSTK2