ive tested both hydrus and monbooru’s ram consumption, and these were the results:
❯ ps aux | grep hydrus ghost_u+ 38817 0.0 0.0 3748 2204 ? S 21:45 0:00 /usr/bin/bwrap --args 40 – hydrus_client ghost_u+ 38832 0.0 0.0 3852 1356 ? S 21:45 0:00 /usr/bin/bwrap --args 40 – hydrus_client ghost_u+ 38833 4.2 3.5 4824044 261588 ? Sl 21:45 0:09 python3 /app/bin/hydrus_client ghost_u+ 39613 0.0 0.0 231268 2420 pts/0 S+ 21:48 0:00 grep --color=auto hydrus
❯ docker stats monbooru --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 0a46831f9470 monbooru 0.00% 19MiB / 7.047GiB 0.26% 13.6MB / 54.3MB 14.4GB / 5.51GB 20
Finally a home for my pro-BRICS ragecomics that should never see the light of day
are you a bot?
ive been able to find reaction images lately thanks to this so i feel you


You are on the exact same kind of shitposting I am recently I guess. I have hundreds of these things & I don’t want them in my normal tagging systemNah not really it’s to show that this one will be making scheduled posts & I will abandon the inbox for long periods of time. Just means it’s off in the command line area rather than my phone most of the time. The db0 guy asked the same thing but he ignored me when I told him to pin lifeline4gaza.com so fuck him
Looks nice, can this work without docker?
i didnt try, i think it would be harder to install, why dont u want to use docker?
Because I don’t like docker. It’s one more abstraction layer that I don’t understand, going to spend time learning how to use it, need to maintain it, it’s gonna take up space on my SSD etc.
Same for flatpak, snap etc.
One developer thinks flatpak is the latest shiny hype thing ans releases his software as a flatpak. The other does snap. Third one prefers docker. Fourth one maybe something else.
I don’t want to maintain this zoo of package managers on my desktop and think about “wait, was this app a docker or a flatpak, how do I update it?”. I want to sudo apt install everything because that’s the default package manager for my distro and I expect all the software to be in a repo that works with it.
Not to sound entitled or anything, it’s just natural to not want to use docker imho.
well, i dont think it’s the same. docker offers an easier way to install and store this kinds of apps. for example i installed the arr stack which takes a bit of time configuring it, ive done it before but not with docker and i lost my data on reinstall, i know you can keep it but its not the same. docker stores all the dependencies there. you just docker compose up on a new system and you got the same app.
regarding flatpak, also another issue. flatpak is distro agnostic, it’s not about being the shiny hype thing, but offering a solution to the linux ecosystem where devs needed to provide different package manager options. could there be another thing? yeah, but that could happen with apt too theoretically.
So, how do I use iptables to open ports for docker apps? Usually I install a thing that requires for example port 8080, and I open the port 8080. Does docker respect iptables?
this is my compose file for monbooru, ive added some comments to show you what each thing does, if you want to change the port simply change the the first 8080. all of these value:value mean that the first value is your machine, and the second one inside the container. that’s it, create a folder named monbooru, create a file named docker-compose.yml, add the thing i gave you below and save it. with your terminal cd into the directory where the compose file lives and do docker compose up -d and it will download the image and it’ll be runnin. believe me, i used to prefer to not use docker because i thought, ohh i have to learn to use docker, but honestly i wish i knew it was this simple long before so i wouldnt have done so many installs of some apps where i’ll lose my data
services: monbooru: container_name: monbooru image: ghcr.io/leqwin/monbooru:latest ports: - "127.0.0.1:8080:8080" user: "1000:1000" security_opt: - no-new-privileges:true - label:disable cap_drop: - ALL volumes: - /PATH/TO/YOUR/GALLERY:/gallery - ./config:/config #this one - ./data:/data #and this one make the app data live next to the compose file, so that you can move the folder and the data stays there - ./models:/models #use this if you add autotaggers, otherwise delete it, i'd try it without them first environment: - MONBOORU_SERVER_BIND_ADDRESS=0.0.0.0:8080 healthcheck: test: ["CMD-SHELL", "curl --fail --silent --max-time 5 http://localhost:8080/health || exit 1"] interval: 30s retries: 3 start_period: 10s timeout: 5s restart: unless-stoppedCan you set up docker in a way that it does not mess with my firewall?
it will not mess with your firewall at all, you just select the port, that’s it, most apps come with a predefined port but you can change it. ive had 0 issues with ports or firewalls. if you try this and need some help let me know.
Docker automatically opens ports your containers need through iptables. Because of this, it bypasses rules set by
ufw, which is great.Podman does not do this afaik, and since it only runs rootless it’s a lot less risky as well.
You see, this is an issue for me because I don’t want my ports “automagically” being open, I want to know exactly which ports are in use and by which apps, I don’t want package manager to manage my ports. I know this sounds “old school” but I prefer to control my ports manually and I don’t want my iptables rules be a mess I can’t understand.
Maybe that’s more of a “me” issue than a docker issue, but anyway, I prefer to not use such software.
No I totally understand. This is why I use podman personally. You can use the same images as you would with docker, even its compose is pretty much exactly the same I think.
I just want to encourage you to reconsider. Docker (or podman) is worth taking the time to figure out. It’s not particularly difficult to learn the basics of, and is extremely powerful.
Your life as a self-hoster will be massively simplified by spending a weekend learning to use docker or podman. Not using containerization is like opting in to hard mode with dependency and configuration hell.
Yes but the app in OP clearly states it’s not meant to be open to the internet, it’s just a booru with web UI to be used on localhost. So it kinda has nothing to do with self hosting in a regular sense, why docker?
there are quite a few apps where you dont necessarily are open to the internet, ive installed karakeep this way and karakeep doesn’t need to download or upload stuff online, but maybe there are some internet related features. for example monbooru has a planned feature where you download from a booru and it automatically adds those tags.
Removed by mod
Please be civil and polite. This type of aggressive comment insulting people because of the tools that they use isn’t welcome here.
Removed by mod








