From b1b0b42cbb029d68f8ac32a5219b93a822b4f2df Mon Sep 17 00:00:00 2001 From: Brice Ruth Date: Wed, 17 Apr 2024 03:53:01 -0500 Subject: [PATCH] Add additional documentation for running with Docker. (#36) Closes #9. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 7e4b22e..7fa2ff2 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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