diff options
author | FxQnLr <[email protected]> | 2024-04-11 09:20:04 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2024-04-11 09:20:04 +0200 |
commit | 6b05d1a437a49db98056de7b029923e8aedf1a5a (patch) | |
tree | bc70f14cae1760e91369705273904c0de1bfbf75 /README.md | |
parent | 907e5cb5bc48899b444f7fedd85af7b5974d9a2e (diff) | |
parent | 2476e182f61d209768635e8eca6e75b4acfbd007 (diff) | |
download | webol-6b05d1a437a49db98056de7b029923e8aedf1a5a.tar webol-6b05d1a437a49db98056de7b029923e8aedf1a5a.tar.gz webol-6b05d1a437a49db98056de7b029923e8aedf1a5a.zip |
Merge pull request #32 from FxQnLr/0.4.0
0.4.0
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 27 |
1 files changed, 23 insertions, 4 deletions
@@ -1,9 +1,28 @@ | |||
1 | # webol | 1 | # webol |
2 | 2 | ||
3 | DATABASE_URL: `String` | 3 | ## Config |
4 | Default `config.toml`: | ||
5 | ```toml | ||
6 | serveraddr = "0.0.0.0:7229" # String | ||
7 | pingtimeout = 10 # i64 | ||
8 | pingthreshold = 1 # i64 | ||
9 | timeoffset = 0 # i8 | ||
4 | 10 | ||
5 | WEBOL_APIKEY: `String` | 11 | [auth] |
12 | method = "none" # "none"|"key" | ||
13 | secret = "" # String | ||
14 | ``` | ||
6 | 15 | ||
7 | WEBOL_SERVERADDR: `Option<String>` (0.0.0.0:7229) | 16 | ## Docker |
8 | 17 | ||
9 | WEBOL_PINGTIMEOUT: `Option<i64>` (10) | 18 | minimal `docker-compose.yaml`: |
19 | ```yaml | ||
20 | services: | ||
21 | webol: | ||
22 | image: ghcr.io/fxqnlr/webol:0.4.0 | ||
23 | container_name: webol | ||
24 | restart: unless-stopped | ||
25 | volumes: | ||
26 | - ./devices:/devices | ||
27 | network_mode: host | ||
28 | ``` | ||