txtdot/packages/server/.env.example

23 lines
547 B
Plaintext

# Server settings
HOST=0.0.0.0
PORT=8080
TIMEOUT=0 # 0 means no timeout
REVERSE_PROXY=false # only with reverse proxy; see docs
# Features
## Proxy
PROXY_RES=true
IMG_COMPRESS=true # enable image compressing; proxy_res is required
## Documentation
SWAGGER=false # whether to add API docs route
SEARCH_BY_DEFAULT=false # whether to show search instead of URL field
## Third-party
SEARX_URL="https://searx.dc09.ru" # SearXNG base URL, enables search.
WEBDER_URL="http://webder.example.com" # WebDer base URL, enables browser rendering.