Skip to content

Commit

Permalink
Merge pull request #9 from neoKushan/docker-instructions
Browse files Browse the repository at this point in the history
Add instructions for running via the published docker container
  • Loading branch information
jonjonsson authored Nov 11, 2024
2 parents e68b841 + 6effb8b commit 93e0cd5
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,30 @@ If you encounter any issues, ensure you have followed each step correctly and ha

### Running the Script in Docker

To run the script in a Docker container, follow these steps:
To run the script in a Docker container, you will need to mount a configuration file to `/app/config.cfg` but that's it - no ports need exposing.
An example docker run command:
```bash
docker run -v /path/to/config.cfg:/app/config.cfg ghcr.io/jonjonsson/emby-mdblist-collection-creator
```
Or use this example compose file:
```yml
version: '3.8'
services:
emby-mdblist-collection-creator:
image: ghcr.io/jonjonsson/emby-mdblist-collection-creator:latest
volumes:
- /path/to/config.cfg:/app/config.cfg
```
### Building the docker image manually
It's not necessary to build the image yourself, but should you choose to, you need these two commands:

1. Build the Docker image:

Expand Down

0 comments on commit 93e0cd5

Please sign in to comment.