Original repo: https://github.com/zedeus/nitter
Port to arm: https://github.com/unixfox/periodic-build-with-github-actions and https://github.com/goodtiding5/docker-nitter
A GitHub action (https://github.com/schklom/Mirror-workflows/blob/main/.github/workflows/Sync%2Bbuild%2Bpush%Nitter.yml) automates checking the original repository for changes every day, and if it finds any then it mirrors the repository, and builds an image after making the replacements (needed to port to arm) described above.
Unlike in the original repo, the location of the configuration file is /data instead of /src. I don't know why, ask the maintainer of the Dockerfile on https://github.com/goodtiding5/docker-nitter.
The environment variables can be defined there or in the configuration file. The configuration file also has fields that are cannot be set as environment variables.
services:
nitter:
image: schklom/nitter
container_name: nitter
# environment:
# NITTER_HTTPS: false
# NITTER_HOST: zz.com
# NITTER_NAME: nitter
# NITTER_THEME: Nitter
# REDIS_HOST: nitter_redis
# REDIS_PORT: 6379
# REPLACE_TWITTER: aa.com
# REPLACE_YOUTUBE: bb.com
# REPLACE_REDDIT: cc.com
# REPLACE_INSTAGRAM: dd.com
ports:
- 8080:8080
volumes:
- /etc/localtime:/etc/localtime:ro
- /path/to/nitter/nitter.conf:/data/nitter.conf
networks:
nitter_redis:
nitter_redis:
image: redis:alpine
container_name: nitter_redis
volumes:
- ${DOCKERDATA}/nitter_redis:/data
networks:
nitter_redis:
networks:
nitter_redis:
where nitter.conf is modified from https://github.com/zedeus/nitter/blob/master/nitter.example.conf
Content type
Image
Digest
Size
5.9 MB
Last updated
over 4 years ago
docker pull schklom/nitter