Skip to content

Commit 0686f98

Browse files
committed
Add info for different port in Docker instructions
1 parent 2324aa5 commit 0686f98

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

docs/installation/docker.md

+13-3
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,12 @@ Now we can launch the container.
151151
- `-v "/home/my-user/comics-2:/comics-2" \`
152152
- `-v "E:\Comics:/comics-2"`
153153

154-
5. Information on how to change the port can be found on the [Setup After Installation page](./setup_after_installation.md#port).
154+
5. If you want to run Kapowarr on a different port, you can do that by replacing the left `5656` with the desired port. More information on how to change the port can be found on the [Setup After Installation page](./setup_after_installation.md#port).
155+
156+
!!! example "Examples"
157+
- `-p 8009:5656` to be available on `8009`
158+
- `-p 443:5656` to be available on `443`
159+
- `-p 5656:5656` to be available on `5656`
155160

156161
=== "Docker Compose"
157162
The contents of the `docker-compose.yml` file are below. The source file can also be found [on GitHub](https://github.com/Casvt/Kapowarr/blob/development/docker-compose.yml). But before you copy, paste and run it, read the notes below!
@@ -205,15 +210,20 @@ Now we can launch the container.
205210
- `- "/home/my-user/comics-2:/comics-2"`
206211
- `- "E:\Comics:/comics-2"`
207212

208-
5. Information on how to change the port can be found on the [Setup After Installation page](./setup_after_installation.md#port).
213+
5. If you want to run Kapowarr on a different port, you can do that by replacing the left `5656` with the desired port. More information on how to change the port can be found on the [Setup After Installation page](./setup_after_installation.md#port).
214+
215+
!!! example "Examples"
216+
- `- 8009:5656` to be available on `8009`
217+
- `- 443:5656` to be available on `443`
218+
- `- 5656:5656` to be available on `5656`
209219

210220
=== "Docker Desktop"
211221
1. Click the search bar at the top and search for `mrcas/kapowarr`.
212222
2. Click `Run` on the entry saying `mrcas/kapowarr`.
213223
3. Open `Images`, and on the right, under `Actions` click the play/run button for `mrcas/kapowarr`.
214224
4. Expand the 'Optional settings'.
215225
5. For the `Container name`, set the value to `kapowarr`.
216-
6. For the `Host port`, set the value to `5656`. Information on how to change the port can be found on the [Setup After Installation page](./setup_after_installation.md#port).
226+
6. For the `Host port`, set the value to `5656`. Set it to a different value if you want to run Kapowarr on a different port. More information on how to change the port can be found on the [Setup After Installation page](./setup_after_installation.md#port).
217227
7. For the `Host path`, set the value to `kapowarr-db` if you are using a Docker volume for the database. Otherwise, set it to the folder where you want to store the database, [that you created earlier](#create-docker-volume-or-folder). Set the accompanying `Container path` to `/app/db`.
218228
8. Add another volume mapping using the plus button on the right. Enter your download folder ([that you created earlier](#creating-download-folder)) as the value of `Host path` and set the accompanying `Container path` to `/app/temp_downloads`.
219229
9. Add another volume mapping using the plus button on the right. Enter your root folder ([that you created earlier](#creating-root-folder)) as the value of `Host path` and set the accompanying `Container path` to `/comics-1`. Later, when Kapowarr is running and you need to add a root folder, the mapped folder is what you'll add (e.g. `/comics-1`).

0 commit comments

Comments
 (0)