mirror of
https://github.com/akyaiy/GoSally-mvp.git
synced 2026-01-03 20:12:25 +00:00
update config exaple
This commit is contained in:
@@ -1,21 +1,30 @@
|
|||||||
mode: "prod"
|
node:
|
||||||
|
mode: dev
|
||||||
|
name: "My gosally node"
|
||||||
|
show_config: true
|
||||||
|
com_dir: "%path%/com"
|
||||||
|
|
||||||
http_server:
|
http_server:
|
||||||
address: "0.0.0.0:8080"
|
address: "0.0.0.0"
|
||||||
api:
|
port: "8080"
|
||||||
latest-version: v1
|
session_ttl: 5s
|
||||||
layers:
|
timeout: 3s
|
||||||
- b1
|
idle_timeout: 30s
|
||||||
- s2
|
|
||||||
|
|
||||||
tls:
|
tls:
|
||||||
enabled: false
|
enabled: true
|
||||||
cert_file: "./cert/fullchain.pem"
|
cert_file: "%path%/cert/fullchain.pem"
|
||||||
key_file: "./cert/privkey.pem"
|
key_file: "%path%/cert/privkey.pem"
|
||||||
|
|
||||||
com_dir: "com/"
|
|
||||||
|
|
||||||
updates:
|
updates:
|
||||||
enabled: true
|
enabled: false
|
||||||
check-interval: 1h
|
check-interval: 1h
|
||||||
repository_url: "https://repo.serve.lv/raw/go-sally"
|
repository_url: "https://repo.serve.lv/raw/go-sally"
|
||||||
|
|
||||||
|
log:
|
||||||
|
json_format: false
|
||||||
|
level: "debug"
|
||||||
|
|
||||||
|
disable_warnings:
|
||||||
|
- --WNonStdTmpDir
|
||||||
|
- --WUndefLogLevel
|
||||||
Reference in New Issue
Block a user