fix: update Unraid commands to use environment variable for compose directory
This commit is contained in:
@@ -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"
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user