This repository has been archived on 2023-09-07. You can view files and clone it, but cannot push or open issues or pull requests.
nitter-nolog/docker-compose.yml
2022-11-28 12:58:42 +01:00

36 lines
819 B
YAML

version: "3"
services:
nitter:
image: git.nolog.cz/nolog.cz/nitter:latest
#build: .
container_name: nitter
ports:
- "8080:8080" # Replace with "8080:8080" if you don't use a reverse proxy
volumes:
- ./nitter.conf:/src/nitter.conf:ro
depends_on:
- nitter-redis
restart: unless-stopped
healthcheck:
test: wget -nv --tries=1 --spider http://127.0.0.1:8080/Jack/status/20 || exit 1
interval: 30s
timeout: 5s
retries: 2
nitter-redis:
image: redis:6-alpine
container_name: nitter-redis
command: redis-server --save 60 1 --loglevel warning
volumes:
- nitter-redis:/data
restart: unless-stopped
healthcheck:
test: redis-cli ping
interval: 30s
timeout: 5s
retries: 2
volumes:
nitter-redis: