From 59285d0b35f60fbc7e818a65629fe63c29892e91 Mon Sep 17 00:00:00 2001 From: S Date: Mon, 2 Mar 2026 11:41:45 -0500 Subject: [PATCH] fix: update Unraid commands to use environment variable for compose directory --- USAGE_GUIDE.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/USAGE_GUIDE.md b/USAGE_GUIDE.md index d7884da..2537d27 100644 --- a/USAGE_GUIDE.md +++ b/USAGE_GUIDE.md @@ -498,7 +498,7 @@ ssh USER@FEDORA_IP "test -f ~/.ssh/id_ed25519 && echo exists || echo gone" ### Updating Gitea version 1. Edit `GITEA_VERSION` in `.env` -2. SSH to Unraid: `cd /path/to/gitea && docker compose pull && docker compose up -d` +2. SSH to Unraid: `cd $UNRAID_COMPOSE_DIR/gitea && docker compose pull && docker compose up -d` 3. Repeat on Fedora if you want the backup instance to match ### Rotating API tokens @@ -534,7 +534,7 @@ When `TLS_MODE=cloudflare`, Caddy handles certificate renewal automatically — When `TLS_MODE=existing`, replace the cert/key files at `SSL_CERT_PATH` and `SSL_KEY_PATH` on the Unraid host, then restart Caddy: ```bash -ssh USER@UNRAID_IP "cd /path/to/caddy && docker compose restart" +ssh USER@UNRAID_IP "cd $UNRAID_COMPOSE_DIR/caddy && docker compose restart" ``` ---