this post was submitted on 28 Oct 2023
1 points (100.0% liked)
Homelab
884 readers
7 users here now
Rules
- Be Civil.
- Post about your homelab, discussion of your homelab, questions you may have, or general discussion about transition your skill from the homelab to the workplace.
- No memes or potato images.
- We love detailed homelab builds, especially network diagrams!
- Report any posts that you feel should be brought to our attention.
- Please no shitposting or blogspam.
- No Referral Linking.
- Keep piracy discussion off of this community
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Managing docker-compose files over a few servers.
Notepad++ is fantastic, I can have multiple tabs with docker-compose files from different servers (via a ssh plugin), in a single window.
I was advised to move to VSCode or VSCodium. Neither can handle a single window with files from different servers, I need to switch workspace every time. Back to Notepad++.
You absolutely can mount different files from different servers simultaneously in vscode. I do it all the time with the SSHFS plugin. You just set the server, login, and path, then you can the remote folder to any workspace, and you can mount multiple different folders simultaneously. Right now I have a workspace which has mounted folders from 3 different servers for my Grafana/Prometheus/Influx DB setup
It's not in vscode then, it is on the filesystem if I understand correctly. Then even notepad can handle that.
sshfs causes weird permission issues for every server I use and cannot save files, so that's not an option.
I actually was a Notepad++ fanatic for years and still use it lightly but I have made the switch to VSCode about 6 months ago and I'll never look back. As the other commenter said you absolutely can mount files from multiple workspaces as well. Hell you can even copy files between file systems.
I'm sorry what? You can edit text files on a different machine from notepad++??????? Omg this changes... everything. Wtf I did not know this. How could not have known this!!!
You can have a central repo for your files. I have a different folder for each server. VSCode has access to these folders to edit any data needed.
Most of the compose files are managed in Portainer, but some of the containers need to exist outside of Portainer.