ovhlabs / sail

[DISCONTINUED] Command line client for Sailabove Docker Hosting platform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Documentation adjustment

landru29 opened this issue · comments

  • Can't find the documentation to add a predictor to my service
  • My service bind port 9000; can find documentation to tell that http://ip_predictor:80 will reach port 9000 of my service

Hello @landru29,

Thanks for your feedback regarding the documentation. There is indeed some room for improvement.

Creating a service to use the HTTP load balancer is fairly easy. For example, let's say an image called "hello" listens on port 9000 like in your question, you may create a "world" service like this:

sail service create hello world --network private --network predictor -p 9000

This service will then be reachable on port 80 from http://world.your_user_name.app.sailabove.io or any custom domain attached to this application.