ngn
f14163ba8a
All checks were successful
Build and publish the docker image / build (push) Successful in 11m44s
Signed-off-by: ngn <ngn@ngn.tf>
33 lines
683 B
YAML
33 lines
683 B
YAML
services:
|
|
nitter:
|
|
container_name: nitter
|
|
image: git.ngn.tf/ngn/nitter
|
|
ports:
|
|
- 80:8080
|
|
volumes:
|
|
- ./nitter.conf:/srv/nitter.conf:Z,ro
|
|
- ./accounts.jsonl:/srv/accounts.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
|