this post was submitted on 12 Nov 2023
2 points (100.0% liked)

Self-Hosted Main

21 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

https://preview.redd.it/ra343yd71xzb1.png?width=1903&format=png&auto=webp&s=c28993a7b5a6ebe2d09b0d08896190e8e3349e0f

GitHub: https://github.com/louislam/dockge

This is my second self-hosted project. If you still remember me, I am the one who created Uptime Kuma, and I had posted here 2 years ago.

After joining this subreddit, I somehow fell into love with this community and also started enjoying using docker-compose to manage my containers.

However, I always interacted with docker-compose using the CLI only, as I couldn't find a web app that focuses on docker-compose management. Although Portainer has the ability to do that, it do not display any progress during "docker-compose up or pull" unfortunately, which makes me prefer to use the CLI.

So this time I tried to create my own stack-oriented manager to manage my compose.yaml files.

- Manage docker compose.yaml files
- Interactive compose.yaml editor
- Interactive web terminal
- The UI/UX is very similar to Uptime Kuma

A short introduction video: https://youtu.be/AWAlOQeNpgU?t=48

It is really fully focused on docker compose, so please don't expect to manage a single container.

Don't forget to ⭐ the project on GitHub if you love it!

A little update for Uptime Kuma:
Uptime Kuma reached over 40,000 ⭐ on GitHub and over 48,000,000 pulls on Docker Hub!!! It is a big gift for me, thank you everyone! Uptime Kuma V2 is still under development, stay tuned!

top 24 comments
sorted by: hot top controversial new old
[–] Reasonable-Ladder300@alien.top 1 points 11 months ago

Looks great, unfortunately i’m running on docker swarm. Hope it’ll support that somewhere in the future so i can use it. As i’m a great fan of uptime kuma and use it for work and private.

[–] SnooPets20@alien.top 1 points 11 months ago

The logo is quite literally uptime kuma but blue lol.

[–] PovilasID@alien.top 1 points 11 months ago

This is cute but I have to be honest I prefer using VS code with SSH and docker plugins for managing compose files.

[–] MrHaxx1@alien.top 1 points 11 months ago

This is awesome. Definitely gonna try it.

Good job on Uptime Kuma too!

[–] TheWicklowWolf@alien.top 1 points 11 months ago

Looks good, does it show logs like dozzle too?

[–] Nintenuendo_@alien.top 1 points 11 months ago

Hooooooooooly shit, this is amazing, I will use the ever loving hell out of this. Awesome project!

[–] cybrwoof@alien.top 1 points 11 months ago

This... is... awesome!

[–] fairshot98@alien.top 1 points 11 months ago

Looks like a damn fine project! Can’t wait to try it out in my lab!

[–] ASouthernBoy@alien.top 1 points 11 months ago

So this can manage a single compose.yaml with all docker apps within it, not various compose.yaml within their own directories, correct?

[–] apbt-dad@alien.top 1 points 11 months ago

Uptime Kuma is awesome. I just gave it a go yesterday to monitor an upgrade at my work and loving it. Thank you. Will check out Dockge... How does one pronounce it, btw?

[–] bufandatl@alien.top 1 points 11 months ago (1 children)

Moved on from compose ages ago. So should you.

[–] MalcolmY@alien.top 1 points 11 months ago

Compose is the best thing for me noobs like me when paired with portainer. Easy peasy.

[–] -eschguy-@alien.top 1 points 11 months ago
[–] MalcolmY@alien.top 1 points 11 months ago

Look awesome.

  1. I use portainer, how do I import my stacks? On the github you said to move them to a folder, so I guess the question is where do I even find them

  2. I have about 40 stacks, do you expect me to create 40 folders and copy each compose file in its relevant folder? Is there an import/export feature (could it exist?) because that's one of the things I wish to have in portainer, some sort of backup for the stacks only.

Support Dockerfile and build

Yes! I'm existed to see what you do with that one.

[–] Professional-Swim-69@alien.top 1 points 11 months ago

the gift it's all ours with uptime kuma, I'll check your new project as well. Thank you so much for sharing.

[–] ghulican@alien.top 1 points 11 months ago (1 children)

Docked in, and loaded up! Quickly renamed my old docker-compose.yml to compose.yaml with this script running in my ‘compose’ folder of folders.

Pure beauty!

Thank you for making something not overly configurable, and something that just works.

This is now my new manager over SSH’ing in over tailscale, and trying to find new SSH apps every other week for my iPhone/Mac.

Literally hours saved.

A feature that would be nice to have is default settings for compose files. If I want to map user permissions, or map my media folder that is always going to be on my *arrrrrrrrr containers, that would be suuuper legit.

I’m gonna poke through the source once I get time to myself and see what I can come up with.

The quality of your work is amazing, and I genuinely thank you for allowing me now to setup/manage my containers while sitting on the toilet.

[–] louislamlam@alien.top 1 points 11 months ago

Thank you for making something not overly configurable, and something that just works.

Thanks, I always enjoy making simple but also powerful apps.

[–] TBT_TBT@alien.top 1 points 11 months ago

As a big fan of UK, I am looking forward to try out Dockge! Thank you so much for your work and dedication to the selfhosted community.

[–] goodtimtim@alien.top 1 points 11 months ago

looking good! Not sure if this is the direction you're looking to go with this project, but I'd love to see a docker compose stack manager that integrated a simple snapshot / backup system. My current situation (with Portainer) when I kludge something up is to either hope I can reconfigure things back they way they were, or revert my entire VM to an earlier state. I'd love to be able to revert a single stack in a few clicks (extra love if the solution used ZFS :). Related features might be simple one-file backup of a stack, or ability to easily migrate a stack from one host to another.

[–] tech2but1@alien.top 1 points 11 months ago (1 children)

As a newb to docker and as someone who hasn't fully gelled with it this looks perfect. Seems it is doing exactly what I'm trying to do in the command line with the folder structures. Perfect timing as yesterday I completely lost the plot with my docker installation!

[–] louislamlam@alien.top 1 points 11 months ago (1 children)

Hope this also help you to learn the basic concept of docker compose.

[–] tech2but1@alien.top 1 points 11 months ago

It has certainly helped me get my head round docker. I don't have to remember what folder I left that compose file in or what that command was. Because of using Dockge I now get the correlation between the command line and compose files (although I still hate languages that rely on whitespace/indenting but that's another rant for another day lol).

I really like the clean simplicity of this (and Uptime Kuma). Couple of things I think would be handy, some shortcuts or snippets for the console, rather than having to try and remember all the prune commands etc could have some custom one click buttons to do it (or maybe chain the commands like docker system prune -a && docker volume prune -a etc?

Are you integrating Telegram with this again? Obviously we can monitor the containers with UK but I was thinking of an alert if there's an update available if we can add some update check?

Absolutely lovely interface though, really glad this came along. Thank you!

[–] markhaines@alien.top 1 points 11 months ago

Question: Once I’ve used dockge to create multiple containers the yaml is nicely organised as separate compose files in the subfolder. Is it possible to use docker compose command to recursively up -d them all at once from the shell without having to manually specify the file names? It doesn’t support wildcards afaik?

[–] brypie@alien.top 1 points 11 months ago

I'm relatively new to the Docker "scene" and this looks like a really cool and simple way to manage the containers. (Looks easier than Portainer which I think is more business orientated)

Not sure if I'm missing a feature though - I already have a folder "docker" with sub folders for each container. Each container sub-folder contains a docker-compose.yml file

Is dockge able to automatically scan, import and give the option to deploy these containers?

If so, how do I do that?

I have the dockge stacks folder to be my top-level "docker" folder

TIA