Skip to content

Commit 47017fb

Browse files
Docs: link sweep (batch 29) (#147)
* docs: update using-deployrr/stack-manager * docs: update reverse-proxy/nginx-proxy-manager * docs: update host/secure-a-vps * docs: update docker/container-keeps-restarting
1 parent 74971d3 commit 47017fb

4 files changed

Lines changed: 99 additions & 14 deletions

File tree

‎docs/src/content/docs/docker/container-keeps-restarting.md‎

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ videos:
3535
start: 171
3636
title: "DeUnhealth video: health check and automatic restart of an unhealthy container"
3737
note: Manual Docker Compose setup. In Deployrr v6, install DeUnhealth from the Apps menu; only qBittorrent VPN has the label already.
38-
last_reviewed: 2026-11-11
38+
last_reviewed: 2026-11-13
3939
status: current
4040
old_paths: []
4141
sources: []
@@ -107,7 +107,7 @@ sudo docker stop CONTAINER
107107

108108
With the aliases: `dcstop APP`. Replace `APP` with the app's name.
109109

110-
If you want the app to stay off after a restart of the whole stack, use **Disable** in the same menu. The app stays installed with its data. Disable asks if you want to stop the container: press `Y`, or it keeps running until the next stack restart. Use **Enable** to turn it back on. See [Stack Manager](/using-deployrr/stack-manager/).
110+
If you want the app to stay off after a restart of the whole stack, use **Tools** > **Stack Manager** > **Disable**. The app stays installed with its data. If the container is running, Disable asks if you want to stop it: press `Y`, or it keeps running until the next stack restart. Use **Enable** to turn it back on. To choose between the two, see [Stop or Disable?](/using-deployrr/stack-manager/#stop-or-disable) in Stack Manager.
111111

112112
The log is still there after you stop the container.
113113

@@ -139,13 +139,29 @@ Before Lazydocker starts, Deployrr shows a box saying Lazydocker is currently in
139139

140140
### 4. Read the health check
141141

142-
Do this if the status says `unhealthy`. This is a general Docker command. Replace `CONTAINER` with the container name.
142+
Do this if the status says `unhealthy`. Deployrr's **Containers Status** shows such a container as running, so use the terminal. These are general Docker commands.
143+
144+
To list every container that is unhealthy right now:
145+
146+
```bash
147+
sudo docker ps --filter health=unhealthy
148+
```
149+
150+
To see one container's health record, replace `CONTAINER` with the container name:
143151

144152
```bash
145153
sudo docker inspect --format '{{json .State.Health}}' CONTAINER
146154
```
147155

148-
The output lists the last health check runs and what each one printed. Read the `Output` text. It often says what the app could not reach.
156+
If this prints `null`, the container has no health check, and its status never says `unhealthy`. Only some apps have one. See [Which apps have a health check](/apps/app-reference/#which-apps-have-a-health-check). Otherwise the output shows the status (`starting`, `healthy` or `unhealthy`), how many checks failed in a row, and the last checks.
157+
158+
To read only what the last checks printed, one line each:
159+
160+
```bash
161+
sudo docker inspect --format '{{range .State.Health.Log}}exit {{.ExitCode}}: {{.Output}}{{println}}{{end}}' CONTAINER
162+
```
163+
164+
Blank lines between them are normal. `exit 0` means the check passed. Any other number means it failed. Read the text after it. It often says what the check could not reach, such as the app's own port inside the container. If the app is still starting or can't open that port, the log from step 3 usually says why.
149165

150166
### 5. Match the log to a cause
151167

‎docs/src/content/docs/host/secure-a-vps.md‎

Lines changed: 41 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ videos:
3030
- id: M6GMp4FJrB8
3131
start: 432
3232
title: "Tailscale tutorial: installing Tailscale on Linux"
33-
last_reviewed: 2026-11-12
33+
last_reviewed: 2026-11-13
3434
status: current
3535
old_paths: []
3636
sources: []
@@ -46,7 +46,7 @@ A new VPS or dedicated server is on the public internet from the first minute. B
4646
- A second terminal window on your own computer. You use it to test each change.
4747

4848
:::caution
49-
Several steps below can lock you out of the server. For each one, keep your current session open and test in a second terminal before you close anything. If you do get locked out, use the provider's web console.
49+
Several steps below can lock you out of the server. For each one, keep your current session open and test in a second terminal before you close anything. If you do get locked out, see [If you get locked out](#if-you-get-locked-out).
5050

5151
Deployrr does not manage SSH and does not turn UFW on. It does add firewall rules when you set up some apps. When you set up Traefik, it allows ports 80, 81, 443 and 444 (TCP, and UDP for 443 and 444). Socket Proxy adds a rule that allows its Docker network, `192.168.91.0/24`. If UFW is not installed but firewalld is, the same rules go to firewalld. The rules are added even if UFW is off. Run `sudo ufw status` before you turn UFW on, so you know what it will allow. Prerequisites > Packages installs UFW on Debian, Ubuntu and Arch.
5252

@@ -355,6 +355,45 @@ In Simple mode, every app is reachable from the internet. Protect apps with a lo
355355
4. Run `sudo sshd -T | grep -E 'passwordauthentication|permitrootlogin|kbdinteractiveauthentication'`. All three are `no`.
356356
5. From your computer, your apps open on `https://` addresses. Other ports on the server do not answer.
357357

358+
## If you get locked out
359+
360+
If every SSH session is closed and you can't log in, use your provider's web console. It works like a screen and keyboard attached to the server, so the SSH settings and firewalls on this page don't block it.
361+
362+
1. Open the web console in your provider's panel. It may be called console, VNC console or serial console.
363+
2. Log in as `NAME` with the account password you set with `adduser`. The SSH settings on this page only apply to SSH. The password still works at the console.
364+
3. Find out which port SSH listens on:
365+
366+
```bash
367+
sudo ss -tlnp
368+
```
369+
370+
Look for your SSH port, for example `:22` or `:2222`. On Ubuntu 24.04 and newer, the program on that line can be `systemd` instead of `sshd`. That is normal.
371+
372+
4. Test the SSH settings for mistakes. No output means no errors:
373+
374+
```bash
375+
sudo sshd -t
376+
```
377+
378+
If you changed the SSH settings, undo your change with the restore commands on this page: [after turning off password login](#turn-off-password-login-and-root-login) or [after changing the port](#optional-change-the-ssh-port). On Ubuntu 24.04 and newer, include the `daemon-reload` and `ssh.socket` commands, or the port does not change.
379+
380+
5. If UFW is on, check that it allows your SSH port:
381+
382+
```bash
383+
sudo ufw status
384+
```
385+
386+
If the port is missing, allow it. Replace `22` with your SSH port:
387+
388+
```bash
389+
sudo ufw allow 22/tcp
390+
```
391+
392+
6. If the provider's firewall blocks the port, fix the rule in the provider's panel. The console can't change it.
393+
7. Log in over SSH from a second terminal before you close the console.
394+
395+
If you can't log in at the console either, for example because you forgot the password, look in your provider's panel for a password reset or a rescue mode. Each provider does this differently, so follow its guide.
396+
358397
## Related
359398
360399
- [Fix the UFW firewall on a VPS](/networking/ufw-firewall-vps/): the basic UFW rule set, and what to do when apps cannot reach the internet.

‎docs/src/content/docs/reverse-proxy/nginx-proxy-manager.md‎

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,28 @@ These steps also happen in NPM.
137137

138138
1. Open the proxy host you made and select **Edit**.
139139
2. Open the **SSL** tab.
140-
3. Under **SSL Certificate**, pick **Request a new SSL Certificate**.
140+
3. Under **SSL Certificate**, pick **Request a new Certificate**.
141141
4. Turn on **Force SSL**.
142-
5. Agree to the Let's Encrypt terms and save.
142+
5. Save. If NPM asks you to agree to the Let's Encrypt terms, agree.
143143

144-
NPM asks Let's Encrypt for the certificate. This works only if the domain points to your public IP and ports 80 and 443 reach your server. For a wildcard certificate, NPM needs a DNS challenge. Set that up in NPM with your DNS provider's token. Deployrr does not store a Cloudflare token for NPM.
144+
NPM asks Let's Encrypt for the certificate. This works only if the domain points to your public IP and ports 80 and 443 reach your server.
145+
146+
### Get one wildcard certificate with Cloudflare
147+
148+
Instead of one certificate per app, you can get one certificate for `*.YOUR_DOMAIN` and use it on every proxy host. Let's Encrypt gives wildcard certificates only through a DNS challenge: NPM uses a Cloudflare API token to add a temporary DNS record that proves you own the domain. Deployrr does not give NPM a Cloudflare token, so you add it in NPM yourself.
149+
150+
These steps use the labels in recent NPM versions. Deployrr installs the `latest` NPM image, so labels can change.
151+
152+
1. In Cloudflare, create an API token with **Zone / Zone / Read** and **Zone / DNS / Edit** for your domain, as in [Create the API token](/networking/cloudflare/#create-the-api-token). A separate token for NPM lets you revoke it without touching Traefik's token.
153+
2. In NPM, open **Certificates** and add a certificate. Choose **Let's Encrypt via DNS**.
154+
3. In the domain names field, add `YOUR_DOMAIN` and `*.YOUR_DOMAIN`. Replace `YOUR_DOMAIN` with your domain.
155+
4. In **DNS Provider**, select **Cloudflare**.
156+
5. In **Credentials File Content**, replace the sample token with yours, so the line reads `dns_cloudflare_api_token=YOUR_TOKEN`.
157+
6. Leave **Propagation Seconds** empty to use the default. If the request fails because the record wasn't found, try again with a higher value, such as `60`.
158+
7. Save and wait for the certificate to show in the list.
159+
8. For each proxy host, open **Edit** > **SSL**, pick the wildcard certificate under **SSL Certificate**, turn on **Force SSL** and save.
160+
161+
NPM warns that it stores the credentials as plain text. That is one more reason to keep the [admin page off the internet](#keep-the-admin-page-off-the-internet). The wildcard covers one level only: `sonarr.YOUR_DOMAIN` works, `a.b.YOUR_DOMAIN` does not. Your DNS records still need to point to your public IP, and ports 80 and 443 still need to reach your server for visitors. See [Cloudflare for Deployrr](/networking/cloudflare/) for records and the orange or gray cloud.
145162

146163
## Check it worked
147164

@@ -188,3 +205,4 @@ Your proxy hosts in NPM do not move to Traefik. Traefik needs its own routes for
188205
- [Quick start](/getting-started/quick-start/): Prerequisites and Setup Mode.
189206
- [Fix the UFW firewall on a VPS](/networking/ufw-firewall-vps/): fix blocked ports on a VPS.
190207
- [Switch between Traefik and Nginx Proxy Manager](/reverse-proxy/switch-traefik-npm/): what to stop, start and change on your router.
208+
- [Cloudflare for Deployrr](/networking/cloudflare/): the API token and DNS records.

‎docs/src/content/docs/using-deployrr/stack-manager.md‎

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ These options act on apps as entries in your main compose file.
144144

145145
### Services Status
146146

147-
Shows "Status of services in docker-compose-HOSTNAME.yml..." and a table with **Service** and **Status**. Status is **Enabled** or **Disabled**. It tells you whether the app is switched on in your stack, not whether it is running. For that, use **Containers Status**. The menu line says "N running apps", but the number counts every app listed, enabled or disabled.
147+
Shows "Status of services in docker-compose-HOSTNAME.yml..." and a table with **Service** and **Status**. Status is **Enabled** or **Disabled**. It tells you whether the app is switched on in your stack, not whether it is running. For that, use **Containers Status**. The number in the menu line includes disabled apps.
148148

149149
### Update App
150150

@@ -172,11 +172,11 @@ With the [Deployrr bash aliases](/using-deployrr/bash-aliases/): `dcrec APP`. Re
172172
1. Choose **Disable**.
173173
2. At "Enter the number of the service to disable:", type the number of the app and press Enter. Type `exit` to leave.
174174
3. If the app is running, answer "Do you want to stop APP container?". Press `Y` to stop it. Press any other key to leave it running. You see "Container left running (will not start on next stack up)".
175-
4. Look for "APP disabled successfully".
175+
4. Look for "APP disabled successfully". Then open **Services Status** and check that the app shows **Disabled**. If it shows **Enabled**, open `docker-compose-HOSTNAME.yml` in your Docker folder (see [Docker folder layout](/using-deployrr/docker-folder-layout/)), find the line `- compose/$HOSTNAME/APP.yml` and put `# ` in front of the dash, so it reads `# - compose/$HOSTNAME/APP.yml`. Change only that line.
176176

177177
If no app is enabled, you see "No enabled services found in" followed by your compose file name. If you type `exit`, you see "No changes made."
178178

179-
Some apps have helper containers, such as a database. For these you see "Multicontainer app detected" and the question "Do you want to also disable dependency containers?". Answer it.
179+
Some apps have helper containers, such as a database. For these you see "Multicontainer app detected" and the question "Do you want to also disable dependency containers?". Press `Y` to disable the helpers too. Deployrr stops them, even if you left the app running at step 3. Press any other key and the helpers stay enabled, as they are, and start with the stack.
180180

181181
You can't disable a helper on its own. Deployrr says "Cannot disable dependency directly" and tells you to disable the parent app.
182182

@@ -188,19 +188,31 @@ This is also what happens to the proxy you switch away from in **Proxy** > **Pro
188188

189189
Nothing is lost. When you enable the app again, **Up** creates a new container from the same settings and data.
190190

191+
#### Stop or Disable?
192+
193+
Both pause an app and keep its data. They differ in what brings it back.
194+
195+
| | **Stop Container** | **Disable** |
196+
| --- | --- | --- |
197+
| Server reboot | Stays stopped | Stays stopped if you stopped it at step 3. A container you left running starts again. |
198+
| **Up** or **Update Stack** | Starts again | Container removed, app stays off |
199+
| To bring it back | **Start Container** or **Up** | **Enable**, then **Up** |
200+
201+
The reboot row is for apps with the usual restart setting (`unless-stopped` in the app's compose file). Many media apps (Plex, Jellyfin, Sonarr, Radarr and others) are set not to restart on their own, so after a reboot they stay stopped whichever option you used. Use **Stop Container** for a short pause. Use **Disable** when the app should stay off through stack updates.
202+
191203
### Enable
192204

193205
"N disabled apps". The reverse of **Disable**. The app starts with the stack again.
194206

195207
1. Choose **Enable**.
196208
2. At "Enter the number of the service to enable:", type the number of the app and press Enter. Type `exit` to leave.
197-
3. For an app with helper containers, answer the question about enabling them too.
209+
3. For an app with helper containers, answer "Do you want to also enable dependency containers?". If you disabled the helpers with the app, press `Y`. The app needs them, and Docker Compose can refuse to start the stack when an app points to a helper that is turned off.
198210
4. If the app is not running, answer "Do you want to start APP container?". Press `Y` to start it now. Press any other key to leave it stopped. You see "Container left stopped (will start on next stack up)". If you enabled helpers and start the app, Deployrr also asks "Do you want to also start the dependency containers?".
199211
5. Look for "APP enabled successfully".
200212

201213
If no app is disabled, you see "No disabled services found in" followed by your compose file name.
202214

203-
Step 4 can only start a container that still exists. If **Up** or **Update Stack** ran while the app was disabled, its container was removed, and answering `Y` does not bring it back. Run **Up** after **Enable** instead, or `dcup APP` with the [bash aliases](/using-deployrr/bash-aliases/). Then check **Containers Status**.
215+
Step 4 can only start a container that still exists. If **Up** or **Update Stack** ran while the app was disabled, its container was removed, and answering `Y` does not bring it back. Run **Up** after **Enable** instead, or `dcup APP` with the [bash aliases](/using-deployrr/bash-aliases/). Whatever step 4 shows, check **Containers Status** to confirm the app runs.
204216

205217
You can't enable a helper on its own. Deployrr says "Cannot enable dependency directly". Enable the parent app instead.
206218

0 commit comments

Comments
 (0)