-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (45 loc) · 1.04 KB
/
docker-compose.yml
File metadata and controls
48 lines (45 loc) · 1.04 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:
bus-tracker:
build: .
container_name: bus-tracker
restart: unless-stopped
ports:
- "5000:5000"
extra_hosts:
- "mitre:10.0.0.120"
env_file:
- .env
cap:
image: tiago2/cap:latest
container_name: cap-standalone
restart: unless-stopped
profiles:
- public
ports:
- "3000:3000"
volumes:
- cap-data:/usr/src/app/.data
environment:
- ADMIN_KEY=${CAP_ADMIN_KEY:-YouShouldDefinitelyChangeThis45!}
tailscale:
image: tailscale/tailscale:latest
container_name: bus-tracker-ts
hostname: busmap
restart: unless-stopped
profiles:
- public
environment:
- TS_AUTHKEY=${TS_AUTHKEY}
- TS_STATE_DIR=/var/lib/tailscale
- TS_SERVE_CONFIG=/config/serve.json
- TS_EXTRA_ARGS=--advertise-tags=tag:docker
volumes:
- tailscale-state:/var/lib/tailscale
- ./serve.json:/config/serve.json:ro
- /dev/net/tun:/dev/net/tun
cap_add:
- NET_ADMIN
- SYS_MODULE
volumes:
cap-data:
tailscale-state: