-
-
Notifications
You must be signed in to change notification settings - Fork 379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🎉 feat: Multiple docker endpoints #3
base: master
Are you sure you want to change the base?
🎉 feat: Multiple docker endpoints #3
Conversation
Signed-off-by: Muhammed Hussein Karimi <[email protected]>
Thank you! Yes, multiple docker hosts feature is definitely a must have feature for this project. Of course, let's see if people love my idea of Dockge first. I will keep testing this project for a while. And I will post it to https://www.reddit.com/r/selfhosted/ later if it is stable. |
Yeah a copy from uptime kuma is awesome.! So, I will wait for you to add UI :) |
Just posted to reddit, hope people will love it. 🐻 |
Love the People responses! |
@louislam |
docker-compose on remote hosts is not that straightforward, I think it has to be studied first. |
I have some experience on that It should be Ok since we are using commands in this project 😁 |
@louislam |
I have studied a bit. Although we can So my direction will be SSH or an Agent. I think the foundation of this feature should leave to me, I need a very clear plan before we go. |
Oh Like K8s We could follow control-plane/worker setup OR We can Switch to SSH But it will be hard to have file manager |
on my setup, i mounted the stacks directory on the other server with nfs, thus creating a file on server 1 will add them on server 2 too. Could be an idea to do something like this for now? |
Hello, I want to make a comment: https://docs.docker.com/engine/context/working-with-contexts/ |
But how do you want to manage your stacks? |
so, i realize this is not feasible for every setup to do but at my work i have identical machines and i set up password-less ssh login and replicated the directory files exactly on the remote machine. then they were seemless to use with --context. but i see docker realized this is not trivial as well so they removed the context option from docker compose for V2. |
You are correct if we do not manage our stacks using this project What about saving stacks in DB (not volume) in a compressed format? When the UI updates a stack we will update the database, also we have a background job that keeps stack files up to date. |
Saving in db is not the direction of this project. People love Dockge because of file based and we don't kidnap users' compose files. Also docker contexts is not able to save the compose files in the target server, so it is not the direction either. I am implementing the agent mode in #200 which basically keeping Dockge's current design, but adding ability to manage all Dockge instances in one single Web UI. |
@louislam
Hi
I found this project awesome, but a simple thing that is missing is managing multiple instances/servers
So, I have some ideas for that, by setting correct env vars when needed, etc.