rsshubtrans/docker-compose.yaml

29 lines
665 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

services:
rsshub:
image: diygod/rsshub:latest
restart: unless-stopped
# no longer needs to be exposed externally translator calls it internally
ports:
- "127.0.0.1:1200:1200" # but I could keep it for other feeds?
environment:
- CACHE_TYPE=memory
- CACHE_EXPIRE=300
translator:
build: ./translator
restart: unless-stopped
ports:
- "127.0.0.1:1201:5000"
env_file: .env
volumes:
- translator_data:/data # ← SQLite lives here
depends_on:
- rsshub
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
volumes:
translator_data: