For me it is writting docker compose files describing my services. I like to test them on my machine before pushing them to the server(s). But I guess that’s my own fault for not using something like portainer or even SSHFS.

What’s the most annoying / painful step for you?

  • schklom@alien.topB
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    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++.

    • Ancient-University89@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      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

      • schklom@alien.topB
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        You absolutely can mount different files from different servers simultaneously in vscode

        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.

    • MyDarkFire@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      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.

    • Frozen_Gecko@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      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!!!

    • disguy2k@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      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.