-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (39 loc) · 2.55 KB
/
docker-compose.yml
File metadata and controls
40 lines (39 loc) · 2.55 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
services:
espythonow:
container_name: espythonow
build: .
restart: unless-stopped
network_mode: host
cap_drop:
- ALL
cap_add:
- NET_RAW
- NET_ADMIN
tty: true
environment:
INTERFACE: "wlan1" # Dedicated wireless interface (e.g., wlan1)
CHANNEL: "8" # Wireless channel to use
SET_INTERFACE: "true" # * Set monitor mode and channel
MTU: "0" # * Set the MTU for the interface
RATE: "0" # * Set the PHY rate for the interface
SEND_RAW: "false" # * Send with raw packet, can be faster and unstable
NO_WAIT: "false" # * Don't wait for confirmation from receiver when sending. Speeds up UNICAST sending at cost of no L2 retry
RETRY_LIMIT: "0" # * Try and set the L2 retry limit
REPEAT: "0" # * Force packet retry in send N times
ACCEPT_BROADCAST: "true" # Accept broadcast ESP-NOW messages
ACCEPT_ALL: "true" # Accept all ESP-NOW messages regardless of intended destination
ACCEPT_ACK: "false" # Execute callback on ACK confirmation
BLOCK_ON_SEND: "false" # Block on sending data, wait for ACK from receiving device
# PRIMARY_KEY: "0u4hgz7pgct3gnv8" # Primary master key for encrypted ESP-NOW (16 chars), CHANGE EXAMPLE KEY!
# LOCAL_KEY: "a3o4csuv2bpvr0wu" # Local master key for encrypted ESP-NOW (16 chars), CHANGE EXAMPLE KEY!
MQTT_HOST: "" # MQTT broker IP address
MQTT_PORT: "1883" # MQTT broker port
MQTT_USERNAME: "" # MQTT username for authentication
MQTT_PASSWORD: "" # MQTT password for authentication
MQTT_KEEPALIVE: "60" # MQTT keepalive
MQTT_BASE_TOPIC: "" # MQTT base topic for publish/subscribe
MQTT_RAW: "false" # Publish raw bytes to MQTT
MQTT_HEX: "true" # Publish hex-encoded data to MQTT
MQTT_JSON: "true" # Publish JSON-formatted data to MQTT, if decoder exists
MQTT_ACK: "false" # Publish ACK (delivery confirmation) to confirm message delivery on send
# * -> Functionality and performance may be dependent on driver/chipset/kernel/other