Skip to content

Commit

Permalink
Enhance the compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
TheFrenchGhosty committed Jan 23, 2022
1 parent 4ffe7d7 commit 327025c
Showing 1 changed file with 17 additions and 10 deletions.
27 changes: 17 additions & 10 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
version: "3.8"
version: "3"

services:
redis:
image: redis:6-alpine
restart: unless-stopped
volumes:
- redis-data:/var/lib/redis

nitter:
image: zedeus/nitter:latest
restart: unless-stopped
depends_on:
- redis
container_name: nitter
ports:
- "8080:8080"
- "127.0.0.1:8080:8080" # Replace with "8080:8080" if you don't use a reverse proxy
volumes:
- ./nitter.conf:/src/nitter.conf
depends_on:
- nitter-redis
restart: unless-stopped

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

volumes:
redis-data:

0 comments on commit 327025c

Please sign in to comment.