-
Notifications
You must be signed in to change notification settings - Fork 275
configuration.md
Wang Juntao edited this page Feb 9, 2023
·
1 revision
system:
appid: ToughRADIUS
location: Asia/Shanghai
workdir: /var/toughradius
debug: true
web:
host: 0.0.0.0
port: 1816
tls_port: 1817
secret: 9b6de5cc-0731-1203-xxtt-0f568ac9da37
database:
type: postgres
host: 127.0.0.1
port: 5432
name: toughradius
user: toughradius
passwd: toughradius
max_conn: 100
idle_conn: 10
debug: false
freeradius:
enabled: true
host: 0.0.0.0
port: 1818
debug: false
radiusd:
enabled: true
host: 0.0.0.0
auth_port: 1812
acct_port: 1813
radsec_port: 2083
debug: true
tr069:
host: 0.0.0.0
port: 1819
tls: true
secret: 9b6de5cc-0931-1203-xxtt-0f568ac9da37
debug: false
mqtt:
server: ""
username: ""
password: ""
debug: false
logger:
mode: development
console_enable: true
loki_enable: true
file_enable: true
filename: /var/toughradius/logs/toughradius.log
queue_size: 4096
loki_api: http://127.0.0.1:3100
loki_user: toughradius
loki_pwd: toughradius
loki_job: toughradius
metrics_storage: /var/toughradius/data/metrics
metrics_history: 168