summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorFxQnLr <[email protected]>2024-04-10 12:20:17 +0200
committerFxQnLr <[email protected]>2024-04-10 12:20:17 +0200
commitbd5ed2f47fe870776783a5b2a56c899126a51860 (patch)
tree398fa227d8df143ebf5d4ecfe8b6f03f88022e65 /README.md
parent3428a637ce420baef9aa9f9803e71bd587867005 (diff)
downloadwebol-bd5ed2f47fe870776783a5b2a56c899126a51860.tar
webol-bd5ed2f47fe870776783a5b2a56c899126a51860.tar.gz
webol-bd5ed2f47fe870776783a5b2a56c899126a51860.zip
Closes #29. Usable Readme and hopefully versioned container
Diffstat (limited to 'README.md')
-rw-r--r--README.md27
1 files changed, 23 insertions, 4 deletions
diff --git a/README.md b/README.md
index eabc051..88f786a 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,28 @@
1# webol 1# webol
2 2
3DATABASE_URL: `String` 3## Config
4Default `config.toml`:
5```toml
6serveraddr = "0.0.0.0:7229" # String
7pingtimeout = 10 # i64
8pingthreshold = 1 # i64
9timeoffset = 0 # i8
4 10
5WEBOL_APIKEY: `String` 11[auth]
12method = "none" # "none"|"key"
13secret = "" # String
14```
6 15
7WEBOL_SERVERADDR: `Option<String>` (0.0.0.0:7229) 16## Docker
8 17
9WEBOL_PINGTIMEOUT: `Option<i64>` (10) 18minimal `docker-compose.yaml`:
19```yaml
20services:
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```