forked from node-red/node-red
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-dashboard.yml
More file actions
61 lines (57 loc) · 1.25 KB
/
docker-compose-dashboard.yml
File metadata and controls
61 lines (57 loc) · 1.25 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
60
61
name: global-dashboard
services:
dashboard:
image: nginx:alpine
container_name: dashboard
volumes:
- dashboard_content:/usr/share/nginx/html:ro
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
cap_add:
- NET_BIND_SERVICE
- CHOWN
- DAC_OVERRIDE
- SETUID
- SETGID
read_only: true
tmpfs:
- /var/cache/nginx
- /var/run
- /tmp
restart: unless-stopped
networks:
- dashboard-net
dashboard-tailscale:
image: tailscale/tailscale:v1.76.6
container_name: dashboard-tailscale
environment:
- TS_AUTHKEY=${TS_AUTHKEY}
- TS_STATE_DIR=/var/lib/tailscale
- TS_USERSPACE=true
- TS_HOSTNAME=dashboard
- TS_SERVE_CONFIG=/config/tailscale-serve-dashboard.json
volumes:
- dashboard_tailscale:/var/lib/tailscale
- dashboard_config:/config:ro
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
cap_add:
- NET_BIND_SERVICE
- NET_RAW
restart: unless-stopped
networks:
- dashboard-net
networks:
dashboard-net:
driver: bridge
volumes:
dashboard_tailscale:
external: false
dashboard_content:
external: false
dashboard_config:
external: false