static.toml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. [http]
  2. [http.routers]
  3. [http.routers.ceph]
  4. rule = "Host(`s3.${DOMAIN}`)"
  5. service = "ceph"
  6. [http.routers.ceph.tls]
  7. [http.routers.swarmpit]
  8. rule = "Host(`swarmpit.${DOMAIN}`)"
  9. service = "swarmpit"
  10. [http.routers.swarmpit.tls]
  11. [http.routers.jellyfin]
  12. rule = "Host(`jellyfin.${DOMAIN}`)"
  13. service = "jellyfin"
  14. [http.routers.jellyfin.tls]
  15. [http.routers.jellyfixer]
  16. rule = "Host(`jellyfin.${DOMAIN}`) && Path(`/jellyfin/System/Info/Public`)"
  17. service = "jellyfixer"
  18. [http.routers.jellyfixer.tls]
  19. [http.routers.plex]
  20. rule = "Host(`plex.${DOMAIN}`)"
  21. service = "plex"
  22. [http.routers.plex.tls]
  23. [http.services]
  24. [http.services.ceph]
  25. [http.services.ceph.loadBalancer]
  26. passHostHeader = true
  27. # One or more ceph nodes
  28. [[http.services.ceph.loadBalancer.servers]]
  29. url = "http://${CEPH1}:7480"
  30. [[http.services.ceph.loadBalancer.servers]]
  31. url = "http://${CEPH2}:7480"
  32. [http.services.swarmpit]
  33. [http.services.swarmpit.loadBalancer]
  34. passHostHeader = true
  35. [[http.services.swarmpit.loadBalancer.servers]]
  36. url = "http://${EXTERNAL_SWARM_IP}:888"
  37. [http.services.jellyfin]
  38. [http.services.jellyfin.loadBalancer]
  39. passHostHeader = true
  40. [[http.services.jellyfin.loadBalancer.servers]]
  41. url = "http://${MEDIA_IP}:8096"
  42. [http.services.jellyfixer]
  43. [http.services.jellyfixer.loadBalancer]
  44. passHostHeader = true
  45. [[http.services.jellyfixer.loadBalancer.servers]]
  46. url = "http://${MEDIA_IP}:8088"
  47. [http.services.plex]
  48. [http.services.plex.loadBalancer]
  49. passHostHeader = true
  50. [[http.services.plex.loadBalancer.servers]]
  51. url = "http://${MEDIA_IP}:32400"