Replies: 7 comments 6 replies
-
|
Looking for the answer to this question too. I have been using localhost for many resources, now setup a remote server, but need the localhost to act as a build server, as this is the main machine with the horsepower (not the remote VPS) |
Beta Was this translation helpful? Give feedback.
-
|
I have a similar 2-server setup and I am looking for a solution to this as well. I tested out a the Build Server Method that needs an extra server to act as a build server and also needs setup with a container registry to push the images to. I would say the docs are a bit lacking in terms of clarity on how to set up this as of this point. but every thing seems to be working fine with this solution. The only downside is that you'll have to either subscribe to a container registry or host your own, and you'll have to get another build server only for builds. |
Beta Was this translation helpful? Give feedback.
-
|
@LynxTR |
Beta Was this translation helpful? Give feedback.
-
|
Any updates on this? Would be really cool to use the localhost as build server |
Beta Was this translation helpful? Give feedback.
-
|
I asked the same question in the Discord: https://discord.com/channels/459365938081431553/1377964787622871070/1377964787622871070 The answer was no, you can't put your Coolify instance and builds on server A, and applications server B. You have to put Coolify and applications together, and only a separate build server. I agree with others that I would prefer to have builds and Coolify together, and separate applications. |
Beta Was this translation helpful? Give feedback.
-
|
Once you build on a different server you need to use a registry to host your images, otherwise how would your other servers get the built image that were created on the build server There is a registry service or you can use one of the docker hubs like ghcr.io or dockerhub |
Beta Was this translation helpful? Give feedback.
-
|
Steps I followed to setup my local linux Ubuntu dev machine as build server: Guide: How to Use a Local PC as a Coolify Build & Deployment Server
Step 1: Secure Network Connectivity with TailscaleCoolify needs a secure and reliable way to connect to your local PC. Exposing SSH or Docker ports directly to the internet is extremely dangerous. A private overlay network like Tailscale is the perfect solution.
Step 2: Prepare the Local ServerWe need to install all the necessary software and configure permissions.
Step 3: Configure SSH AuthenticationCoolify needs its own unique "ID card" (SSH key) to access your local server.
Step 4: Add the Local Server to CoolifyNow, we tell Coolify about our new server.
Step 5: Configure Your Application and Deploy!You are ready to deploy.
Coolify will now SSH into your local PC, run the Docker build using its full resources, push the correctly-named image to Docker Hub, and then run the container on that same machine. Congratulations! You now have a fully functional, powerful, local build and deployment pipeline integrated with Coolify. Hope this helps |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am managing a remote server via coolify instance deployed to the hetzner (2 servers in total), but deployments giving the remote one high cpu spikes so i would like to avoid that without buying a separate server for builds. Is there a way to make build in the coolify server?
https://coolify.io/docs/knowledge-base/server/build-server/
Beta Was this translation helpful? Give feedback.
All reactions