Heimdall behind nginx, on Debian 11 - no Docker #923
esbeeb
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After running into a dead end with trying to run Heimdall in a Docker container (which is the only currently-official installation method; Docker enjoys deity-like status these days, to the exclusion of all other "traditional" installation methods), I installed Heimdall v2.4.13 in Debian 11, with the following steps:
Copy and paste in the following, then saving, quitting:
Let's serve Heimdall, with Nginx:
Now aim your web browser at the IP address of the hosting machine, and don't forget "https://" at the start of the URL, because heimdall-behind-nginx is listening on port 443.
Custom Heimdall favicon set: The default favicons were an ugly grey, so if you'd like to have simple green dots instead, then there's an alternate favicon set. These are nothing too fancy (since Heimdall is a "Start page" of sorts... "green means go" felt symbolic of that, and is easy for people to relate to, what with traffic lights having green meaning go). See #674 (comment)
These favicon files, once decompressed, can simply be copied over the default files found in halftop:/var/www/heimdall/public. Harder to do in a Docker container.
Custom Title of "Your Site": You can change the title by changing the APP_NAME in the .env". In the file: /var/www/heidall/.env
change the first line to:
APP_NAME="Your Site"
Save, then refresh the page in your web browser.
Adding custom search providers: edit the file /var/www/heimdall/storage/app/searchproviders.yaml
Note: /var/www/heimdall/public/storage needs to be a symlink pointing to /var/www/heimdall/storage/app/pubic. This symlink gets created after the first successful running of heimdall.
Also Note: When I run Heimdall behind nginx, the RAM and CPU usage is so tiny that it pretty much doesn’t exist when you try to watch it in htop. A compressed backup of the entire /var/www/heimdall folder (this is after I’ve configured it with about a dozen “Application buttons”, a background image, etc), which entirely contains Heimdall, is like 11MB.
Beta Was this translation helpful? Give feedback.
All reactions