This repository has been archived by the owner on Aug 4, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
78 lines (75 loc) · 2.29 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
71
72
73
74
75
76
77
78
version: '2.4'
services:
tailscale:
image: tailscale/tailscale
container_name: fevr_tailscale
restart: unless-stopped
privileged: true
volumes:
- ./tailscale/varlib:/var/lib
- /dev/net/tun:/dev/net/tun
- ./run_tailscale.sh:/run.sh
cap_add:
- net_admin
- sys_module
environment:
AUTH_KEY: ${AUTH_KEY}
BRIDGE_SUBNET: ${BRIDGE_SUBNET:-192.168.101.0/24}
command: /run.sh
networks:
fevrnet:
ipv4_address: ${TAILSCALE_IP:-192.168.101.253}
fevr_flask:
# build:
# context: ./
# dockerfile: Dockerfile
image: ghcr.io/beardedtek-com/fevr-flask:main
container_name: fevr_flask
restart: unless-stopped
privileged: true
networks:
fevrnet:
ipv4_address: ${FEVR_IP:-192.168.101.1}
volumes:
- ./:/fevr
environment:
FLASK_ENV: ${FLASK_ENV:-}
FEVR_PORT: ${FEVR_PORT:-5090}
command: /fevr/run_fevr.sh
fevr_mqtt:
# build:
# context: ./
# dockerfile: Dockerfile
image: ghcr.io/beardedtek-com/fevr-flask:main
container_name: fevr_mqtt
restart: unless-stopped
privileged: true
networks:
fevrnet:
ipv4_address: ${MQTT_CLIENT_IP:-192.168.101.2}
volumes:
- ./:/fevr
command: bash /fevr/run_mqtt_client.sh
#usage: mqtt_client [-h] [-p PORT] [-t TOPICS] [-u USER] [-P PASSWORD] [-f FEVR] [-s] mqtt
#
#positional arguments:
# mqtt MQTT Broker IP/FQDN **Required** (default: None)
# key fEVR API Key **Required** (default: None)
#
#optional arguments:
# -h, --help show this help message and exit
# -p PORT, --port PORT MQTT Port (default: 1883)
# -t TOPICS, --topics TOPICS
# MQTT Topics (default: 'frigate/+')
# -u USER, --user USER MQTT Username (default: '')
# -P PASSWORD, --password PASSWORD
# MQTT Password (default: '')
# -f FEVR, --fevr FEVR fEVR IP Address/FQDN (default: '192.168.101.1:5090)
# -s, --https If set uses https:// (default: http://)
networks:
fevrnet:
driver: bridge
ipam:
config:
- subnet: ${BRIDGE_SUBNET:-192.168.101.0/24}
gateway: ${BRIDGE_GATEWAY:-192.168.101.254}