diff --git a/Deploy.md b/Deploy.md new file mode 100644 index 0000000..a74b2a9 --- /dev/null +++ b/Deploy.md @@ -0,0 +1,17 @@ +# Deploy + +Files: `deploy/docker` (compose) and `deploy/unraid` (template) on [main](https://gitea.encke-hake.ts.net/BalboSoft/Chronos/src/branch/main/deploy). Details: [BRIEF](https://gitea.encke-hake.ts.net/BalboSoft/Chronos/src/branch/main/docs/BRIEF.md) and [CHANGELOG](https://gitea.encke-hake.ts.net/BalboSoft/Chronos/src/branch/main/docs/CHANGELOG.md). + +## Unraid notes + +- Use the image tag `:latest`. It follows the highest stable release, or the highest pre-release while no stable release exists. +- Container ports are fixed at **8080** (HTTP) and **8443** (HTTPS). Map any host ports you like to them. +- When host ports differ from 8080/8443, set **Public HTTP port** and **Public HTTPS port** (`CHRONOS_PUBLIC_HTTP_PORT`, `CHRONOS_PUBLIC_HTTPS_PORT`) in the template, or in the admin panel. Clients, the Uploader and the HTTP-to-HTTPS redirect use them. +- Free space: the template maps the share's array view (`/mnt/user0/Timelapse`) read-only to `/space` (`CHRONOS_SPACE_PATH`), so the dashboard shows the array's space, not the cache's. +- Optional videos library: map a folder to `/videos` and set `CHRONOS_VIDEOS_PATH=/videos`. +- LAN discovery from a container needs host networking. +- Logs: `CHRONOS_LOG_LEVEL` locks both log levels. + +## Upgrades + +Read the upgrade note in the CHANGELOG section of each release before pulling a new image (database migrations run at start).