From f0ec9c7a4a3d2f17cd0924523ee07dc95f45bf6a Mon Sep 17 00:00:00 2001 From: azpsen Date: Wed, 26 Mar 2025 11:36:36 -0500 Subject: [PATCH] env docs, invidious healthcheck --- docker-compose.yml | 6 +++ readme.md | 105 ++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 110 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 42eef1c..427e5fd 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -101,8 +101,14 @@ services: - 9080:3000 env_file: - ${ENV_DIR}/invidious.env + healthcheck: + test: wget -nv --tries=1 --spider http://127.0.0.1:3000/api/v1/trending || exit 1 + interval: 30s + timeout: 5s + retries: 2 depends_on: - invidious-db + - invidious-sighelper restart: unless-stopped invidious-sighelper: image: quay.io/invidious/inv-sig-helper:latest diff --git a/readme.md b/readme.md index 5dd95ef..03515b1 100644 --- a/readme.md +++ b/readme.md @@ -31,6 +31,7 @@ These are all the services hosted, what they are for, and any clients I use with - [Actual Budget](https://actualbudget.org/) - Excellent budgeting app. It can be automatically synced with your bank ([SimpleFIN Bridge](https://beta-bridge.simplefin.org/) for US banks, $15/year), but I have found that to be unstable - There used to be an official app but it has been discontinued - I added the website to my phone's home screen and it works quite well +- [ConvertX](https://github.com/C4illin/ConvertX) - File conversion utility - [DumbPad](https://github.com/DumbWareio/DumbPad) - Stupid simple notes app (for grocery lists, quick notes, etc.) - [Gitea](https://about.gitea.com/) - Git server - in the process of replacing my GitHub account - [Grocy](https://github.com/grocy/grocy) - Household management (Am I out of milk? Do I have AAA batteries? What can I make for dinner?) @@ -40,6 +41,7 @@ These are all the services hosted, what they are for, and any clients I use with - [Joplin](https://joplinapp.org/) - Notes (Obsidian alternative) - [Kiwix](https://kiwix.org/en/) - Offline wiki hosting - I have Wikipedia, the Arch Linux wiki, and several others downloaded - [LinkStack](https://linkstack.org/) - Self-hosted LinkTree alternative ([azpsen.com](https://azpsen.com)) - more for content creators, definitely overkill for what I need. I'll probably replace it with a simple static site at some point +- [LubeLogger](https://lubelogger.com/) - Car mileage and service tracker - [Maloja](https://github.com/krateng/maloja) - Self-hosted music listen tracker (last.fm replacement) - with [multi-scrobbler](https://github.com/FoxxMD/multi-scrobbler) for Jellyfin support - [Miniflux](https://miniflux.app/) - Minimalist RSS feed reader - [NetNewsWire](https://netnewswire.com/) - Wonderful all-purpose iOS RSS client @@ -119,6 +121,29 @@ Below are the variables that need to be set in the `.env` file for each service. TUNNEL_TOKEN= ``` +### ConvertX + +[Docs](https://github.com/C4illin/ConvertX#environment-variables) + +```env +# convertx.env + +JWT_SECRET= +HTTP_ALLOWED=true +``` + +### DumbPad + +[Docs](https://github.com/C4illin/ConvertX#environment-variables) + +```env +# dumbpad.env + +SITE_TITLE= +DUMBPAD_PIN= +BASE_URL= +``` + ### gluetun [Docs](https://github.com/qdm12/gluetun) @@ -144,7 +169,7 @@ The values for `WIREGUARD_PRIVATE_KEY` and `WIREGUARD_ADDRESSES` should be avail My current Immich docker setup has a lot of repetition - when I want to update, I have to change the version in 3 places. I have plans to improve this, but for now this is what works. Also note that the way I set the upload location is not recommended by the Immich docs. ```env -#immich.env +# immich.env UPLOAD_LOCATION=/media/immich IMMICH_VERSION="v1.123.0" @@ -164,6 +189,51 @@ POSTGRES_USER=postgres POSTGRES_DB=immich ``` +### Invidious + +[Docs](https://docs.invidious.io/installation/) + +Note that the `password` under `db` in `INVIDIOUS_CONFIG` should be the same as the `POSTGRES_PASSWORD`. The `hmac_key` should be a different, randomly generated value + +```env +# invidious.env + +# Invidious +INVIDIOUS_CONFIG=' + db: + dbname: invidious + user: invidious + password: + host: invidious-db + port: 5432 + check_tables: true + signature_server: invidious-sighelper:12999 + visitor_data: + po_token: + external_port: 9080 + https_only: false + statistics_enabled: false + registration_enabled: false + popular_enabled: false + hmac_key: + admins: ["april"] + default_user_preferences: + quality: dash + feed_menu: ["Trending", "Subscriptions", "Playlists"] + default_home: Trending +' + +# Database +POSTGRES_DB=invidious +POSTGRES_USER=invidious +POSTGRES_PASSWORD= + +# to update the visitor_data and po_token: +# docker run quay.io/invidious/youtube-trusted-session-generator +# or, for use with gluetun: +# docker run --network=container:gluetun quay.io/invidious/youtube-trusted-session-generator +``` + ### Joplin [Docs](https://github.com/flosoft/docker-joplin-server) @@ -204,6 +274,21 @@ HTTPS_SERVER_NAME= SERVER_ADMIN= ``` +### LubeLogger + +[Docs](https://docs.lubelogger.com/Advanced/Environment%20Variables) + +```env +# lubelogger.env +LC_ALL=en_US +LANG=en_US +MailConfig__EmailServer= +MailConfig__EmailFrom= +MailConfig__Port=587 +MailConfig__Username= +MailConfig__Password= +``` + ### Miniflux [Docs](https://miniflux.app/docs/docker.html) @@ -219,6 +304,24 @@ POSTGRES_PASSWORD= # this is the password used above POSTGRES_DB=miniflux ``` +### MultiScrobbler + +[Docs](https://foxxmd.github.io/multi-scrobbler/docs/configuration/) + +```env +# multi-scrobbler.env + +TZ=America/Chicago +PUID=1000 +PGID=1000 +MALOJA_URL=http://maloja:42010 +MALOJA_API_KEY= +JELLYFIN_URL=http://jellyfin:8096 +JELLYFIN_USER= +JELLYFIN_APIKEY= +JELLYFIN_USERS_ALLOW= +``` + ### Paperless-ngx [Docs](https://docs.paperless-ngx.com/setup/#docker)