FerryDocs

Public URLs

Web services and static sites answer at one public URL under each domain of the server.

Edit on GitHub
Service nameshopDomainlocalhostProxy port8080Public URLname.domain:port

The URL starts with the name of the service: shop.

1 / 4

and are public. Each one answers at <name>.<domain> under each , and at the that you add.

A server starts with one domain: its . It comes from ferryd --base-domain, and the default is localhost. Browsers send each *.localhost name to 127.0.0.1, thus you need no setup on your machine.

Who has a public URL

Service typeAddress for the other services
Web service<name>.<domain> for each domain of the server, and custom domains<name>:<port>
Static site<name>.<domain> for each domain of the server, and custom domains<name>:80
Private servicenone<name>:<port>
Background workernoneNo port. It can open connections.
Cron jobnoneNo port. Each run joins the network.

Your app must listen on 0.0.0.0 and $PORT

Ferry publishes the of each container on 127.0.0.1 of the server and sends the requests there. In the container, your app must listen on all interfaces (0.0.0.0), not on 127.0.0.1. Ferry gives the port in PORT.

On this page