ConceptsServices
The five service types
The type of a service tells Ferry if it has a port and who can reach it.
Ferry has the same five service types as Render. You choose the type when you create a service. You cannot change it after that.
Compare the types
| Type | --type (CLI) | type (API) | Has a port | Address | Instances |
|---|---|---|---|---|---|
| Web service | web | web_service | Yes | A public URL, plus custom domains | 1 to 50 |
| Private service | pserv | private_service | Yes | The private network only | 1 to 50 |
| Background worker | worker | background_worker | No | None | 1 to 50 |
| Cron job | cron | cron_job | No | None | One container per run |
| Static site | static | static_site | Yes (nginx) | A public URL, plus custom domains | 1 to 50 |
Set the type
ferry create search --type pserv --image getmeili/meilisearch:v1.10 --port 7700web is the default type of ferry create and ferry up.