A guide on how to deploy a resource to multiple servers with Coolify
Servers
menu, simply by clicking on it.
Now everytime you redeploy, restart or stop the application, the action will be done on all servers.
If the deploy needs a build process, it will be executed on the main server (or on the build server if you have on). The deploy process will upload the built image to the Docker Registry and only after all other servers will be notified to pull and deploy this image.
Ports Mappings
for your application, so one port from the docker container will mapped to a port on the host server, all you need to do is to:
IP:PORT
as a destination in your loadbalancer.Domains
field in Coolify.PORT
from the loadbalancer,
otherwise everyone can reach your application directly, without the
loadbalancer.Domains
field, and then set the proper configuration for your loadbalancer, with SSL termination.
With this configuration, you can use several domains with one loadbalancer.