nitter/compose.example.yml
ngn d221df59df
Some checks failed
docker / nitter (push) Failing after 2m29s
docker / session (push) Successful in 1m20s
apply patches from the old upstream and cleanup
Signed-off-by: ngn <ngn@ngn.tf>
2025-05-23 00:53:45 +03:00

33 lines
701 B
YAML

services:
nitter:
container_name: nitter
image: git.ngn.tf/ngn/nitter
ports:
- 80:8080
volumes:
- ./nitter.conf:/srv/nitter.conf:Z,ro
- ./sessions.jsonl:/srv/sessions.jsonl:Z,ro
depends_on:
- nitter_redis
restart: unless-stopped
user: 998:998
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
read_only: true
nitter_redis:
container_name: nitter_redis
image: redis:6-alpine
command: redis-server --save 60 1 --loglevel warning
volumes:
- ./data:/data
restart: unless-stopped
user: 999:1000
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
read_only: true