mirror of
https://github.com/0x1d/rcond.git
synced 2025-12-15 02:32:21 +01:00
feat: apply configuration on start
This commit is contained in:
38
config/rcond-rpi-sta.yaml
Normal file
38
config/rcond-rpi-sta.yaml
Normal file
@@ -0,0 +1,38 @@
|
||||
hostname: rpi-test
|
||||
|
||||
rcond:
|
||||
addr: 0.0.0.0:8081
|
||||
api_token: 1234567890
|
||||
|
||||
network:
|
||||
connections:
|
||||
# connect to MyHomeWifi on wlan0
|
||||
- name: MyHomeWiFi
|
||||
type: 802-11-wireless
|
||||
interface: wlan0
|
||||
ssid: MyHomeWiFi
|
||||
mode: infrastructure
|
||||
keymgmt: wpa-psk
|
||||
psk: SuperSecure
|
||||
ipv4method: auto
|
||||
ipv6method: ignore
|
||||
autoconnect: true
|
||||
# TODO
|
||||
# provide DHCP on eth0
|
||||
#- name: MyThingsNetwork
|
||||
# type: 802-3-ethernet
|
||||
# interface: eth0
|
||||
# method: shared
|
||||
# autoconnect: true
|
||||
|
||||
cluster:
|
||||
enabled: true
|
||||
log_level: INFO
|
||||
node_name: rcond-agent
|
||||
secret_key: DMXnaJUUbIBMj1Df0dPsQY+Sks1VxWTa
|
||||
advertise_addr: 0.0.0.0
|
||||
advertise_port: 7946
|
||||
bind_addr: 0.0.0.0
|
||||
bind_port: 7946
|
||||
#join:
|
||||
# - 127.0.0.1:7946
|
||||
Reference in New Issue
Block a user