docs(docker): replace backslashes by backticks in windows docker run commands [skip-ci] (#2557)

This commit is contained in:
0xsysr3ll
2026-03-16 16:17:38 +01:00
committed by GitHub
parent 6c52a2f3ad
commit 40e02bba6a
4 changed files with 103 additions and 35 deletions

View File

@@ -230,7 +230,7 @@ You can now access Seerr by visiting `http://localhost:5055` in your web browser
<TabItem value="task-scheduler" label="Task Scheduler">
To run seerr as a bat script:
1. Create a file named `start-seerr.bat` in the seerr directory:
```bat
```batch
@echo off
set PORT=5055
set NODE_ENV=production

View File

@@ -168,36 +168,80 @@ or the Docker Desktop app:
Then, create and start the Seerr container:
<Tabs groupId="docker-methods" queryString>
<TabItem value="docker-cli" label="Docker CLI">
```bash
docker run -d \
--name seerr \
--init \
-e LOG_LEVEL=debug \
-e TZ=Asia/Tashkent \
-e PORT=5055 \
-p 5055:5055 \
-v seerr-data:/app/config \
--restart unless-stopped \
--health-cmd "wget --no-verbose --tries=1 --spider http://localhost:5055/api/v1/status || exit 1" \
--health-start-period 20s \
--health-timeout 3s \
--health-interval 15s \
--health-retries 3 \
<TabItem value="docker-cli" label="Docker CLI (PowerShell)">
```powershell
docker run -d `
--name seerr `
--init `
-e LOG_LEVEL=debug `
-e TZ=Asia/Tashkent `
-e PORT=5055 `
-p 5055:5055 `
-v seerr-data:/app/config `
--restart unless-stopped `
--health-cmd "wget --no-verbose --tries=1 --spider http://localhost:5055/api/v1/status || exit 1" `
--health-start-period 20s `
--health-timeout 3s `
--health-interval 15s `
--health-retries 3 `
ghcr.io/seerr-team/seerr:latest
```
The argument `-e PORT=5055` is optional.
#### Updating:
Stop and remove the existing container:
```powershell
docker stop seerr; docker rm seerr
```
Pull the latest image:
```bash
docker compose pull seerr
```powershell
docker pull ghcr.io/seerr-team/seerr:latest
```
Then, restart all services defined in the Compose file:
```bash
docker compose up -d
Finally, run the container with the same parameters originally used to create the container:
```powershell
docker run -d ...
```
</TabItem>
<TabItem value="docker-cli-cmd" label="Docker CLI (CMD)">
```batch
docker run -d ^
--name seerr ^
--init ^
-e LOG_LEVEL=debug ^
-e TZ=Asia/Tashkent ^
-e PORT=5055 ^
-p 5055:5055 ^
-v seerr-data:/app/config ^
--restart unless-stopped ^
--health-cmd "wget --no-verbose --tries=1 --spider http://localhost:5055/api/v1/status || exit 1" ^
--health-start-period 20s ^
--health-timeout 3s ^
--health-interval 15s ^
--health-retries 3 ^
ghcr.io/seerr-team/seerr:latest
```
The argument `-e PORT=5055` is optional.
#### Updating:
Stop and remove the existing container:
```batch
docker stop seerr && docker rm seerr
```
Pull the latest image:
```batch
docker pull ghcr.io/seerr-team/seerr:latest
```
Finally, run the container with the same parameters originally used to create the container:
```batch
docker run -d ...
```
</TabItem>
<TabItem value="docker-compose" label="Docker Compose">