docker-compose.yml 692 B

123456789101112131415161718192021222324252627282930313233
  1. version: "3"
  2. services:
  3. freshrss_postgresql:
  4. image: postgres
  5. restart: unless-stopped
  6. volumes:
  7. - pgsql_data:/var/lib/postgresql/data
  8. environment:
  9. - POSTGRES_USER=freshrss
  10. - POSTGRES_PASSWORD=freshrss
  11. - POSTGRES_DB=freshrss
  12. freshrss:
  13. image: freshrss/freshrss
  14. restart: unless-stopped
  15. ports:
  16. - "8080:80"
  17. depends_on:
  18. - freshrss_postgresql
  19. volumes:
  20. - freshrss_data:/var/www/FreshRSS/data
  21. - freshrss_extensions:/var/www/FreshRSS/extensions
  22. environment:
  23. - CRON_MIN=*/20
  24. - TZ=Europe/Copenhagen
  25. labels:
  26. - "traefik.port=80"
  27. volumes:
  28. pgsql_data:
  29. freshrss_data:
  30. freshrss_extensions: