You’re welcome!
I can have a look in my free time for fun. Will let you know if I manage to do it. 😅
Other places where you can find me
You’re welcome!
I can have a look in my free time for fun. Will let you know if I manage to do it. 😅
Sorry for the delay in the reply.
No need to apologize! Thank you for working on this. :)
The only issue is that the app requires that the config file and blocklist and allowlists should be included within the docker hub. So the issue is that if a prebuilt image is provided, then is it possible to edit it within the docker container ?? If so then it is ok, otherwise it would still be good, but it would limit the usage to users who are by default satisfied by the default config. While others would still need to build the image manually, which is not very great.
I’m not familiar with the websurfix codebase, but I don’t see why it wouldn’t work.
I’m currently self-hosting SearXNG on a VPS, but I started by having it just locally. The important bit of that blog post is this:
docker run -d --rm \
-d -p 8080:8080 \
-v "${HOME}/searxng:/etc/searxng" \
-e "BASE_URL=http://localhost:8080/" \
searxng/searxng
I use the -v
flag to mount a directory in my home to the config directory inside the docker container. SearXNG then writes the default config files there, and I can just edit them normally on ~/searxng/
.
By using a mounted volume like this, the configs are persistent, so I can restart the docker container without losing them.
Ah cool, thanks!
Will definitely try it now. It’s good to have options (Searx just recently became unmaintained).
Are there any plans to have an official docker hub image? I’m asking because my workflow involves keeping the containers up to date with watchtower.
Genuinely curious, what would the advantages be?
Also, what if the Linux distro does not have systemd?
Yes.
All my self hosted containers are bound to some volume (since they require reading settings or databases).
True.
But I assume OP was already running docker from that user, so they are comfortable with those permissions.
Maybe should have made it clearer. Added to my other post. Thanks!
Interesting, I’ll be keeping an eye on this. Thanks for sharing!
I’m currently self hosting SearXNG. The must-have features for me are the custom filters and the actively maintained docker image. Will definitely give it a go if they get implemented.
You shouldn’t need sudo to run docker, just can create a docker
group and add your user to it. This will give you the steps on how to run docker without sudo
.
Edit: as pointed out below, please make sure that you’re comfortable with giving these permissions to the user you’re adding to the docker group.
For the littering part, just type crontab -e
and add the following line:
@daily docker system prune -a -f
Congrats, and thank you for releasing this!
Maybe there’s a couple of personal projects I could use it for…
Meta was talking about adding Mastodon federation to their Threads app. So I very much doubt it.
They’d probably take an Embrace, Expand, Extinguish approach.
A lot of people thought this was the case for VMs and docker as well, and now it seems to be the norm.
Yes, but docker does provide features that are useful at the level of a hobbyist self-hosting a few services for personal use (e.g. reproducibility). I like using docker and ansible to set up my systems, as I can painlessly reproduce everything or migrate to a different VPS in a few minutes.
But kubernetes seems overkill. None of my services have enough traffic to justify replicas, I’m the only user.
Besides learning (which is a valid reason), I don’t see why one would bother setting it up at home. Unless there’s a very specific use-case I’m missing.
Yes, those are all great uses of it. But could all still be achieved with docker containers running on some machines at home, right?
Have you ever had a situation where features provided by kubernetes (like replicas, load balancers, etc) came in handy?
I’m not criticizing, I’m genuinely curious if there’s a use-case for kubernetes for personal self-hosting (besides learning).
Seems a bit overkill for a personal use selfhosting set-up.
Personally, I don’t need anything that requires multiple replicas and loadbalencers.
Do people who have homelabs actually need them? Or is it just for learning?
Why someone keeps chasing the latest gadgets when the old ones work just fine is beyond me.
Nobody is waiting every year for the brand new line of washing machines. Why is there a need to swap phones this frequently?