mirror of
https://codeberg.org/VnPower/PixivFE
synced 2024-12-06 19:16:23 +01:00
49 lines
1.1 KiB
Bash
49 lines
1.1 KiB
Bash
# PixivFE configuration
|
|
# Refer to https://pixivfe-docs.pages.dev/environment-variables/ for detailed explanations of these variables
|
|
|
|
## Required variables
|
|
PIXIVFE_PORT='8282'
|
|
# PIXIVFE_UNIXSOCKET='/tmp/pixivfe.sock'
|
|
# PIXIVFE_TOKEN='changethis'
|
|
|
|
## Optional variables
|
|
PIXIVFE_HOST='127.0.0.1'
|
|
# PIXIVFE_REQUESTLIMIT=
|
|
# PIXIVFE_IMAGEPROXY=
|
|
# PIXIVFE_ACCEPTLANGUAGE=
|
|
# PIXIVFE_PROXY_CHECK_ENABLED=
|
|
# PIXIVFE_PROXY_CHECK_INTERVAL=
|
|
# PIXIVFE_TOKEN_LOAD_BALANCING=
|
|
# PIXIVFE_REPO_URL=
|
|
|
|
### Network proxy settings
|
|
# HTTPS_PROXY=
|
|
# HTTP_PROXY=
|
|
|
|
### Token management configuration
|
|
# PIXIVFE_TOKEN_MAX_RETRIES=
|
|
# PIXIVFE_TOKEN_BASE_TIMEOUT=
|
|
# PIXIVFE_TOKEN_MAX_BACKOFF_TIME=
|
|
|
|
### API response caching configuration
|
|
# PIXIVFE_CACHE_ENABLED=
|
|
# PIXIVFE_CACHE_SIZE=
|
|
# PIXIVFE_CACHE_TTL=
|
|
# PIXIVFE_CACHE_SHORT_TTL=
|
|
|
|
### HTTP caching configuration
|
|
# PIXIVFE_CACHE_CONTROL_MAX_AGE=
|
|
# PIXIVFE_CACHE_CONTROL_STALE_WHILE_REVALIDATE=
|
|
|
|
### Feature configuration
|
|
# PIXIVFE_POPULAR_SEARCH_ENABLED=
|
|
|
|
### Development options
|
|
# PIXIVFE_DEV=
|
|
# PIXIVFE_RESPONSE_SAVE_LOCATION
|
|
|
|
### Logging options
|
|
# PIXIVFE_LOG_LEVEL=
|
|
# PIXIVFE_LOG_OUTPUTS=
|
|
# PIXIVFE_LOG_FORMAT=
|