diff --git a/docs/getting-started/buildfromsource.mdx b/docs/getting-started/buildfromsource.mdx index 3c28346e..e17715eb 100644 --- a/docs/getting-started/buildfromsource.mdx +++ b/docs/getting-started/buildfromsource.mdx @@ -230,7 +230,7 @@ You can now access Seerr by visiting `http://localhost:5055` in your web browser 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 diff --git a/docs/getting-started/docker.mdx b/docs/getting-started/docker.mdx index 0a959acc..746fae44 100644 --- a/docs/getting-started/docker.mdx +++ b/docs/getting-started/docker.mdx @@ -168,36 +168,80 @@ or the Docker Desktop app: Then, create and start the Seerr container: - -```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 \ + +```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 ... ``` + + + + +```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 ... +``` + diff --git a/docs/migration-guide.mdx b/docs/migration-guide.mdx index e99d95a2..d4d48a65 100644 --- a/docs/migration-guide.mdx +++ b/docs/migration-guide.mdx @@ -53,6 +53,7 @@ Changes : Since the container now runs as the `node` user (UID 1000), you must ensure your config folder has the correct permissions. The `node` user must have read and write access to the `/app/config` directory. If you're migrating from a previous installation, you may need to update the ownership of your config folder: + ```bash docker run --rm -v /path/to/appdata/config:/data alpine chown -R 1000:1000 /data ``` @@ -106,6 +107,7 @@ Summary of changes : ### Windows + Summary of changes : @@ -136,17 +138,32 @@ Summary of changes : external: true ``` - - ```bash {2-3,8,10} - 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 \ + + ```powershell {2-3,8,10} + 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 ` + ghcr.io/seerr-team/seerr:latest + ``` + + + + ```batch {2-3,8,10} + 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 ^ ghcr.io/seerr-team/seerr:latest ``` @@ -277,4 +294,4 @@ Follow the [Unraid Installation Guide](/getting-started/third-parties/unraid#2-s Start the newly created Seerr container. Check the container logs to confirm the automatic migration completed successfully. **5. Remove the old app** -Once you have confirmed Seerr is working properly and your data has successfully migrated, you can safely **Remove** the old Overseerr (or Jellyseerr) container from Unraid. \ No newline at end of file +Once you have confirmed Seerr is working properly and your data has successfully migrated, you can safely **Remove** the old Overseerr (or Jellyseerr) container from Unraid. diff --git a/gen-docs/docusaurus.config.ts b/gen-docs/docusaurus.config.ts index 94b7d882..5177de03 100644 --- a/gen-docs/docusaurus.config.ts +++ b/gen-docs/docusaurus.config.ts @@ -133,7 +133,14 @@ const config: Config = { prism: { theme: prismThemes.shadesOfPurple, darkTheme: prismThemes.shadesOfPurple, - additionalLanguages: ['bash', 'powershell', 'yaml', 'nix', 'nginx'], + additionalLanguages: [ + 'bash', + 'powershell', + 'yaml', + 'nix', + 'nginx', + 'batch', + ], }, } satisfies Preset.ThemeConfig, };