-
Notifications
You must be signed in to change notification settings - Fork 2
/
compose.yaml
86 lines (80 loc) · 2.73 KB
/
compose.yaml
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
---
services:
opentakserver:
image: ghcr.io/milsimdk/ots-docker-image:latest
container_name: opentakserver
hostname: opentakserver
restart: unless-stopped
tty: true
ports:
- 127.0.0.1:8081:8081 # OTS listens on this port on the loopback interface for HTTP(S) requests
- 0.0.0.0:8088:8088 # TCP CoT streaming port
- 0.0.0.0:8089:8089 # SSL CoT streaming port
volumes:
- "./persistent/ots:/app/ots"
depends_on:
rabbitmq:
condition: service_healthy
opentakserver-webui:
image: ghcr.io/milsimdk/ots-ui-docker-image:latest
container_name: opentakserver-webui
hostname: opentakserver-webui
restart: unless-stopped
nginx-proxy:
build:
context: .
dockerfile: persistent/nginx/Dockerfile
container_name: nginx-proxy
hostname: nginx-proxy
restart: unless-stopped
ports:
- 0.0.0.0:80:80 # HTTP Web UI
- 0.0.0.0:443:443 # HTTPS Web UI
- 0.0.0.0:8080:8080 # HTTP API requests to OpenTAKServer port 8081
- 0.0.0.0:8443:8443 # HTTPS API requests to OpenTAKServer port 8081
- 0.0.0.0:8446:8446 # Proxy for certificate enrollment to OpenTAKServer port 8081
- 0.0.0.0:8883:8883 # Proxy for MQTT / Meshtastic to Rabbitmq port 1883
volumes:
- "./persistent/ots/ca:/app/ots/ca:ro"
- "./persistent/nginx/templates:/etc/nginx/templates:ro"
depends_on:
opentakserver:
condition: service_healthy
rabbitmq:
image: rabbitmq:latest
container_name: rabbitmq
hostname: rabbitmq
restart: unless-stopped
volumes:
- "/etc/timezone:/etc/timezone:ro"
- "./persistent/rabbitmq/enabled_plugins:/etc/rabbitmq/enabled_plugins:ro"
- "./persistent/rabbitmq/99-opentakserver.conf:/etc/rabbitmq/conf.d/99-opentakserver.conf:ro"
healthcheck:
test: rabbitmq-diagnostics -q ping
interval: 30s
timeout: 30s
retries: 3
mediamtx:
image: bluenviron/mediamtx:latest-ffmpeg
container_name: mediamtx
hostname: mediamtx
restart: unless-stopped
# network_mode: host
ports:
- 0.0.0.0:1935:1935 # RTMP video streams
- 0.0.0.0:1936:1936 # RTMPS video streams
- 0.0.0.0:8000:8000/udp # RTP video streams
- 0.0.0.0:8001:8001/udp # RTCP video streams
# - 0.0.0.0:8189:8189/udp # WebRTC
- 0.0.0.0:8322:8322 # RTSP(S) video streams
- 0.0.0.0:8554:8554 # RTSP video streams
- 0.0.0.0:8888:8888 # HLS video streams
# - 0.0.0.0:8889:8889 # WebRTC streams
- 0.0.0.0:8890:8890/udp # SRT streams
- 127.0.0.1:9997:9997 # DEBUG
volumes:
- "./persistent/ots:/app/ots"
- "./persistent/ots/mediamtx/mediamtx.yml:/mediamtx.yml"
depends_on:
opentakserver:
condition: service_healthy