Configure server though env
All checks were successful
CI / Typos (push) Successful in 21s
CI / Build and test (push) Successful in 2m33s
CI / Clippy (push) Successful in 3m12s
Docker / build-and-push (push) Successful in 5m35s
CI / Build and test (all features) (push) Successful in 7m1s

This commit is contained in:
2026-03-26 20:40:51 -07:00
parent 256af68382
commit 5807733e62
10 changed files with 579 additions and 66 deletions

View File

@@ -11,4 +11,14 @@ services:
- "./x.ignore/books:/data/books:ro"
- "./pile:/workdir"
command: "pile server -c /data/books/pile.toml --workdir /workdir 0.0.0.0:7100"
environment:
SERVER_ADDR: "0.0.0.0:7100"
WORKDIR_ROOT: "/workdir"
API_TOKEN: "pile_token"
THREADS: 8
#LOKI_HOST: "http://loki:3100"
#LOKI_USER: "user"
#LOKI_PASS: "pass"
#LOKI_NODE_NAME: "pile"
command: "pile server -c /data/books/pile.toml"