Skip to content

Commit

Permalink
Add additional documentation for running with Docker. (#36)
Browse files Browse the repository at this point in the history
Closes #9.
  • Loading branch information
bdruth authored Apr 17, 2024
1 parent f97c92c commit b1b0b42
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ docker run -d \
ghcr.io/holoarchivists/hoshinova:main
```

** Note **: When running in Docker, the service runs as UID 1000, so bind-mount permissions need to be set correctly: `chown -R 1000:1000 ./videos ./temp` (adjust paths to whatever locations your mounting to the Docker container volumes).

Or with `docker-compose`:

```yaml
Expand All @@ -87,6 +89,8 @@ services:
- ./videos:/app/videos
```
** Note **: When using `docker-compose`, restarting the service will not update it. To update, use `docker-compose pull` and then `docker-compose up -d`.

## Configure

Copy the `config.example.toml` file to `config.toml` and edit the file as
Expand Down

0 comments on commit b1b0b42

Please sign in to comment.