# Server:## Change this to your own domain/ip.## Example -> https://example.com or http://127.0.0.1:3000# 设置proxigram的urlURL=https://proxigram.example.com
# CACHE:## Set to false to disable cache (not recommended).# 允许缓存CACHE=true## Redis url, example -> redis://127.0.0.1:6379## If using docker -> redis:6379# redis的urlREDIS_URL=redis:6379
## Don't keep it too high!## 7|m|h|d# rss过期时间EXPIRE_TIME_FOR_RSS=6h
# No more than 2d, images and videos will break# 帖子(post)的过期时间EXPIRE_TIME_FOR_POST=6h
# 帖子(posts)的过期时间EXPIRE_TIME_FOR_POSTS=6h
# profile的过期时间EXPIRE_TIME_FOR_PROFILE=6h
# 故事的过期时间EXPIRE_TIME_FOR_STORIES=6h
# 设置代理# Proxy:## Proxy all the images and videos through the instance.## If set to false, images and videos will be loaded from the provider server decreasing privacy for the end user.PROXY=false# Providers:## Fetch the providers URLs remotly.## If set to false, it will cached the list of providers once. New providers will have to be added manually# 获取第三方ins应用的内容FETCH_PROVIDERS=true## If FETCH_PROVIDERS is set to true, provide how often you want to re-fetch;## 7|m|h|d# 每隔6小时重新获取第三方ins应用的内容FETCH_PROVIDERS_EVERY=6h
## Add a custom remote providers list.## OFFICIAL: https://codeberg.org/ThePenguinDev/proxigram-providers/raw/branch/main/providers.json# 添加官方的第三方ins应用列表的urlPROVIDERS_LIST_URL=https://codeberg.org/ThePenguinDev/proxigram-providers/raw/branch/main/providers.json
## If set to false, providers which depends on a headless browser will not be used.## If set to true, you should run one of the next commands to install the chromium binary.## npm install [email protected]## pnpm add [email protected]## yarn add [email protected]# 不使用无头浏览器USE_HEADLESS_PROVIDERS=false# RSS:## Set to false to disable RSS.# 允许rssRSS=true## Maximum 12.# 设置每条rss的item数量ITEMS_PER_RSS=12## In ms.# 每次请求的间隔时间设置为400msSLEEP_TIME_PER_REQUEST=400
---version:"2.1"services:proxigram:# Currently no docker image so building oneimage:proxigram:latestbuild:dockerfile:Dockerfilecontainer_name:proxigram# 3000 is the container internal port, 8080 is the external access port, change if necessary.ports:- '127.0.0.1:3000:3000'restart:unless-stopped# Copy .env.example to .env and change accordingly.env_file:.env# When using this compose file, use REDIS_URL=redis:6379 at the env fileredis:image:redis:alpinecontainer_name:redisrestart:unless-stopped