-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yaml.example
More file actions
38 lines (34 loc) · 1.13 KB
/
docker-compose.yaml.example
File metadata and controls
38 lines (34 loc) · 1.13 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
services:
frigate:
# Fill with frigate settings
mosquitto:
# Fill with mosquitto settings
snap-sync:
image: ghcr.io/thequantumphysicist/frigate-snap-sync:latest
hostname: snap-sync
container_name: frigate-snap-sync
restart: unless-stopped
environment:
# Change to `debug`, or even `trace` for more information when debugging
RUST_LOG: info
volumes:
# Any files you need accessible to snap-sync must be owned by user with id 10246
# You can achieve this with `chown 10246:10246 -R dir-to-own-to-user-10246`
# Do this in the host.
# Get the example config file from the root directory of the repository
# Example file: `config.yaml.example`.
# More information in the README.md
- ./data-frigate/snap-sync/config.yaml:/config.yaml
# This is an example of a private key used for sftp
- ./data-frigate/snap-sync/id_rsa:/id_rsa
depends_on:
frigate:
condition: service_healthy
# These are extra security options
security_opt:
- no-new-privileges=true
cap_drop:
- NET_RAW
- MKNOD
- SETPCAP
- SETFCAP