forked from keshavdv/unifi-cam-proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
70 lines (70 loc) · 1.77 KB
/
docker-compose.yml
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
version: '3'
services:
unifi-cam-proxy:
build: .
container_name: unifi-cam-proxy
volumes:
- './client.pem:/client.pem'
environment:
- "HOST=192.168.103.180"
- "TOKEN=UojOceUtnvtaxpiY"
- "RTSP_URL=rtsp://freja.hiof.no:1935/rtplive/definst/hessdalen03.stream"
restart: always
unifi-video-controller:
image: pducharme/unifi-video-controller
container_name: unifi-video-controller
ports:
- 1935:1935
- 6666:6666
- 7004:7004
- 7080:7080
- 7442:7442
- 7443:7443
- 7444:7444
- 7445:7445
- 7446:7446
- 7447:7447
volumes:
- ./run/data:/var/lib/unifi-video
- ./run/videos:/var/lib/unifi-video/videos
environment:
- TZ=America/Los_Angeles
- DEBUG=1
cap_add:
- SYS_ADMIN
- DAC_READ_SEARCH
security_opt:
- apparmor:unconfined
unifi-protect:
container_name: unifi-protect
ports:
- '7080:7080'
- '7442:7442'
- '7443:7443'
- '7444:7444'
- '7447:7447'
- '7550:7550'
volumes:
- './run/protect/data:/srv/unifi-protect'
- './run/protect/db:/var/lib/postgresql/10/main'
- './run/protect/db_config:/etc/postgresql/10/main'
- './run/protect/config.json:/usr/share/unifi-protect/app/config/config.json'
environment:
- TZ=America/Los_Angeles
- PUID=999
- PGID=999
- PUID_POSTGRES=102
- PGID_POSTGRES=104
image: fryfrog/unifi-protect
frigate:
image: blakeblackshear/frigate:stable-amd64
privileged: true
volumes:
- /etc/localtime:/etc/localtime:ro
- type: tmpfs
target: /tmp/cache
tmpfs:
size: 1000000000
- ./run/frigate:/config
ports:
- "5000:5000"