docker-compose.yml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. version: "3.6"
  2. services:
  3. db:
  4. image: postgres:10
  5. container_name: feedati_db
  6. volumes:
  7. - postgres_data:/var/lib/postgresql/data
  8. environment:
  9. - POSTGRES_USER=ttrss
  10. - POSTGRES_PASSWORD=password-dev
  11. - POSTGRES_DB=ttrss
  12. ports:
  13. - 5432:5432
  14. tt-rss:
  15. image: feedati/tt-rss:latest
  16. build:
  17. context: .
  18. dockerfile: ./docker/Dockerfile-tt-rss
  19. container_name: feedati_tt_rss
  20. volumes:
  21. - ./tt-rss:/var/www/html
  22. - ./docker/ttrss-config.php:/var/www/html/config.php:ro
  23. ports:
  24. - 8000:80
  25. - 9312:9312
  26. rss-bridge:
  27. image: feedati/rss-bridge:latest
  28. build:
  29. context: ./rss-bridge/
  30. container_name: feedati_rss_bridge
  31. ports:
  32. - 8001:80
  33. environment:
  34. - APACHE_SERVER_NAME=rss-bridge
  35. webserver:
  36. image: nginx:latest
  37. container_name: feedati_webserver
  38. volumes:
  39. - ./docker/nginx.conf:/etc/nginx/conf.d/default.conf:ro
  40. ports:
  41. - 80:80
  42. volumes:
  43. postgres_data: