0
0
opnxng-deploy-playbook/templates/compose/proxigram.yaml.j2

53 lines
1.2 KiB
Plaintext
Raw Normal View History

2023-11-06 10:39:27 +08:00
# {{ ansible_managed }}
version: '3.3'
services:
proxigram:
image: git.opnxng.com/opnxng/proxigram:latest
container_name: proxigram
security_opt:
- no-new-privileges
depends_on:
- proxigram-redis
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Singapore
- URL=https://ig.opnxng.com
- CACHE=true
- REDIS_URL=proxigram-redis:6379
- EXPIRE_TIME_FOR_RSS=1d
- EXPIRE_TIME_FOR_POST=1d
- EXPIRE_TIME_FOR_POSTS=1d
- EXPIRE_TIME_FOR_PROFILE=1d
- EXPIRE_TIME_FOR_STORIES=1d
- PROXY=true
- FETCH_PROVIDERS=true
- FETCH_PROVIDERS_EVERY=1d
- PROVIDERS_LIST_URL=https://codeberg.org/proxigram/proxigram-providers/raw/branch/main/providers.json
2023-11-06 10:39:27 +08:00
- USE_HEADLESS_PROVIDERS=false
- RSS=false
2023-11-06 10:39:27 +08:00
- ITEMS_PER_RSS=5
- SLEEP_TIME_PER_REQUEST=5
restart: unless-stopped
ports:
- 8908:3000
networks:
2023-11-10 05:28:42 +08:00
- proxigram
2023-11-06 10:39:27 +08:00
proxigram-redis:
container_name: proxigram-redis
image: redis:alpine
command: redis-server
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Singapore
- REDIS_URL=redis:6379
restart: unless-stopped
networks:
2023-11-10 05:28:42 +08:00
- proxigram
2023-11-06 10:39:27 +08:00
networks:
2023-11-10 05:28:42 +08:00
proxigram:
name: proxigram