53 lines
1.2 KiB
Django/Jinja
53 lines
1.2 KiB
Django/Jinja
# {{ 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
|
|
- USE_HEADLESS_PROVIDERS=false
|
|
- RSS=false
|
|
- ITEMS_PER_RSS=5
|
|
- SLEEP_TIME_PER_REQUEST=5
|
|
restart: unless-stopped
|
|
ports:
|
|
- 8908:3000
|
|
networks:
|
|
- proxigram
|
|
|
|
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:
|
|
- proxigram
|
|
|
|
networks:
|
|
proxigram:
|
|
name: proxigram
|