docker-compose.yml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. volumes:
  2. data:
  3. extensions:
  4. services:
  5. freshrss:
  6. image: freshrss/freshrss:latest
  7. # # Optional build section if you want to build the image locally:
  8. # build:
  9. # # Pick #latest (slow releases) or #edge (rolling release) or a specific release like #1.27.1
  10. # context: https://github.com/FreshRSS/FreshRSS.git#latest
  11. # dockerfile: Docker/Dockerfile-Alpine
  12. container_name: freshrss
  13. hostname: freshrss
  14. restart: unless-stopped
  15. logging:
  16. options:
  17. max-size: 10m
  18. volumes:
  19. - data:/var/www/FreshRSS/data
  20. - extensions:/var/www/FreshRSS/extensions
  21. environment:
  22. TZ: Europe/Paris
  23. CRON_MIN: '3,33'
  24. TRUSTED_PROXY: 172.16.0.1/12 192.168.0.1/16
  25. # # Optional parameter to allow sending requests to certain internal hosts. By default all internal requests are blocked
  26. # # Examples: 127.0.0.1:8080, rss-bridge:80, etc.
  27. # # or a CIDR notation: 0.0.0.0/0 (to allow any IPv4), ::/0 (to allow any IPv6)
  28. # # Setting * disables this check completely, allowing any host to be accessed (unsafe)
  29. # INTERNAL_HOST_ALLOWLIST: rss-bridge:80 rsshub:1200
  30. # # Optional healthcheck section:
  31. # healthcheck:
  32. # test: ["CMD", "cli/health.php"]
  33. # timeout: 10s
  34. # start_period: 60s
  35. # start_interval: 11s
  36. # interval: 75s
  37. # retries: 3