Multi server setup - Dokploy on VPS, Server at home on old macbook
Hello. I'm trying to setup dokploy on my VPS to manage containers on my Mac.
i have got the "server" (my mac) added successfully, i am able to open a remote terminal on dokploy for my mac. Docker is installed on my mac.
when i attempt to deploy, it doesnt work.
watch logs error π
41 Replies
remote terminal:

VPS is hosted with digital ocean.
Macbook is on my home network.
on my home network port 22 port forwarding is enabled.
in the serve settings on dokploy i have put my user as
Daksh
(mac username) and the IP address is the IPv4 address of my mac which i got by going to one of those "what's my ip sites"not sure if it makes a difference, but i have one image running on my macbook via docker desktop
Bump. If anyone replies pls ping me
the logs are clear i guess
permission dennied
I am able to ssh from the remote terminal to my Mac tho
anyways I don't know if dokploy can be compatible on mac, so I don't know the issues you can have
yeah but read the logs
permission denied to write in the logs
Ah dayum.
I had deployed dokploy on my Mac, and it was working fine.
But I would have really liked to have it hosted on my VPS and remotely manage
Thanks for the reply
I can't guarantee it will work, but if does awesome xD
Do you reckon I need to add something here ?

(Firewall settings)
I ainβt a dev or anything, a friend suggested dokploy and it was stupidly simple to set up and the UI is modern.
I might have to go to portainer π₯²
You can run Dokploy and Portainer at the same time
i wanted to use either one, since dokploy is not working, i'll have to downgrade to portainer
π«
There seem to be multiple things going on and wrong here haha.
If you can reach the mac from the VPS using SSH at port 22 manually, the timeout is odd.
I can test it on my systems and servers tomorrow or tonight.
To be clear, what you've done is simply:
- VPS with Dokploy
- Mac with port 22 exposed
- Added Mac in VPS Dokploy instance as a server.
If any steps are missing let me know please.
that's right. there was a step with SSH key generated on dokploy, and public key on Mac in between. (i'm not a dev first time doing this, so not sure what else is relevant)
I can test it on my systems and servers tomorrow or tonight.thanks for that. please ping me whenever you get around to it!
@Daksh
For me, using Linux on the host and the second server, it's working properly.
I set it up, created the ssh key (pubkey on second server) and ran the deployment.
I also created a service on this new server.
All working properly.

Well good to know that itβs working for you, so it should work for me too
Are you on an Apple silicon based Mac ? Iβm on an intel one not sure if that makes a difference
I'm on Linux x64.
So your Mac is still running MacOS?
Did you initiate the deployment in the setup?
Yeah, my Mac is still on Mac OS
SSH from Dokploy is working for you so the ssh key is set up properly
And yes i did deploy the setup, no errors showing

On the mac, what do you see if you do "docker ps"
Pretty odd, because I would guess it must be a permission or OS specific issue but then you should already have issues with the Setup deployment.

ok... so even though it said "server setup successfully" i didn't...
i've just seen that i can see the logs for deployment.

any idea how i could trouble shoot from here? @Aron
Ah yea. That clarifies a lot.
the toast notification lied to me π’
ss is a tool to check sockets on Linux. so that's missing
yea. not sure why because there is no way docker gives an "OK"
I can look into this. But not right now π
.
The issue here is simply that MacOS is not properly supported
yeah fair enoug hahah. thanks for your help though, i appreciate it.
i think i'll look into removing macOS and installing linux (or getting a seperate NAS/home server thingy)
Yea. If I have time i'll look into the MacOS support & get back here.
From the logs you shared i'm not seeing any huge issues.
But those issues could still crop up after the initial issues are resolved π
tbh, i don't think it's worth it anymore. worst comes to worst, i'll use portainer or something
True. I'll do it just out of interest and support improvements for Dokploy as a whole π
@Aron i decided to dual boot linux (ubuntu 22) and got it up and running.
getting an error when trying to install dokploy tho
i have docker installed
I saw someone had a similar issue, followed their steps https://discord.com/channels/1234073262418563112/1308088116111740987/1313568357378818229
dokploy deployed now, but nothing shows up at the url
If you apply that fix it will deploy at localhost
or, should
if you do
docker ps
in your terminal
What do you get?
now i feel a lil silly
cuz it said to go to 127.0.0.1
i just wanna make sure now that it works, it will continue working, i'd rather troubleshoot and get the steps corrctly now than break my head later on
Hi, it would be awesome if Dokploy supported mac in a multi server environment. I have several mac minis that I manually deploy and manage things with but discovered Coolify and Dokploy recently. Both appear to have the same issue and don't support macOS.