-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.nvidia.yml
More file actions
59 lines (47 loc) · 1.27 KB
/
docker-compose.nvidia.yml
File metadata and controls
59 lines (47 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
services:
eewrendererstg:
image: ghcr.io/eewbot/eew-renderer@sha256:d3900969121b7026c3483e490eb3f131aa8086d05ccce17f46f83c8b163f690a
hostname: eewrenderer
container_name: eewrendererstg${VARIANT:-}__eewrendererstg
restart: unless-stopped
environment:
LISTEN: 0.0.0.0:3000
DISPLAY: ${DISPLAY}
ALLOW_DEMO: ${ALLOW_DEMO}
HMAC_KEY: ${HMAC_KEY}
INSTANCE_NAME: ${INSTANCE_NAME}
MINIMUM_RESPONSE_INTERVAL: ${MINIMUM_RESPONSE_INTERVAL}
volumes:
- type: bind
source: /tmp/.X11-unix
target: /tmp/.X11-unix
command: /usr/bin/eew-renderer
deploy:
resources:
limits:
memory: 2g
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
networks:
- default
cloudflared:
image: cloudflare/cloudflared:2026.5.2
hostname: cloudflared
container_name: eewrendererstg${VARIANT:-}__cloudflared
restart: unless-stopped
environment:
TUNNEL_LOGFILE: /dev/stdout
command: tunnel run --token ${TUNNEL_TOKEN}
user: root
deploy:
resources:
limits:
memory: 128m
networks:
- default
networks:
default:
name: eewrendererstg${VARIANT:-}__default