mpcref
Explore posts from serversWhat IS the multi-server feature and why isn't it working for me?
Looking at the documentation it's unclear what the multi-server feature does. It only explains how to enable it. So in order to find out I've added and successfully set up a server. I've deployed a static application to the server. The deploy logs show success but the deployment itself is shown as an error and it doesn't work. I've deployed various apps from a template that work fine when I deploy them normally. When I deploy them by choosing the newly added server the deployment fails with the error:
I see the docker containers listed for the remote server with the "Created" state and status and when I click "View Logs" I see there are no logs.
In short, I can't get this feature to work and so I don't get what the difference is with adding a node to the cluster and targeting that node using placement constraints.
- Is it just used as a build server?
- Is it a stand-alone server without any swarm cluster features?
- Is it a separate Traefik entrypoint and swarm manager node that manages its own set of worker nodes? (I'm hoping it's this)
And how can I get it to work?
29 replies
Migrating database to Dokploy
I want to migrate several applications to Dokploy and I was wondering what would be the best way to do this. Specifically migrating the databases. Here's how I was thinking to solve this:
1. Dump the existing database
2. Install the same application on Dokploy
3. Share the database dump through a bind mount volume with the database container
4. Connect to the database container with a terminal and import the data using the CLI
Is this the way to go or is there an easier method?
6 replies
Deploying build artifacts to Dokploy
Hi, I'm a new Dokploy user. I've successfully done deployments of static sites and by using dockerfiles. Now I want to deploy some existing applications which are being built using GitLab resulting in build artifacts that are curently being deployed using ssh. What's the most logical way to transition these deployments to Dokploy? I hope I don't have to translate my entire GitLab pipeline into a Dockerfile. I'd like to keep everything in GitLab and just deploy the build artifacts on Dokploy. Do I have to copy the artifacts to a container image and push that to a container registry so Dokploy can pull it? Or is there a more straightforward way to get my build artifacts deployed on Dokploy? Using Nixpacks seems obvious but it seems to me that the build would have to take place in Dokploy. Am I understanding this correctly or am I missing something?
5 replies
IPC (ZeroMQ)
I want to create a service with Deno that should be callable by other (non-deno) processes running on the same machine. I've tried using ZeroMQ for this but Deno doesn't seem to be supported (I can't get it to work) and given the drama surrounding the official ZeroMQ npm package I'm inclined to look for other solutions. I could always fall back to using http but does anyone know of a more performant IPC solution for Deno given this scenario?
6 replies