Configure server though env
All checks were successful
All checks were successful
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user