docker-compose.yml 938 B

123456789101112131415161718192021222324252627282930313233
  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.21.0
  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 healthcheck section:
  26. # healthcheck:
  27. # test: ["CMD", "cli/health.php"]
  28. # timeout: 10s
  29. # start_period: 60s
  30. # start_interval: 11s
  31. # interval: 75s
  32. # retries: 3