Merge branch 'review2-p1-space' into claude/owner-review-2-p1
This commit is contained in:
commit
91725d9098
22 files changed
+641
-66
No files matched your search
@@ -44,6 +44,9 @@ services:
|
||||
# CHRONOS_PRIORITY_QUEUE: "true"
|
||||
# Trace, Debug, Information, Warning or Error
|
||||
CHRONOS_LOG_LEVEL: Information
|
||||
# The admin panel shows the archive volume's free space. An Unraid share (/mnt/user/<share>) reports its primary
|
||||
# storage, often the cache: map the share's array view to /space (volumes below) and show that one instead.
|
||||
# CHRONOS_SPACE_PATH: /space
|
||||
PUID: ${PUID:-1000}
|
||||
PGID: ${PGID:-1000}
|
||||
TZ: ${TZ:-UTC}
|
||||
@@ -51,6 +54,8 @@ services:
|
||||
# The archive folder should belong to PUID:PGID; an empty or root-owned one is given to them at start (the folder
|
||||
# only, never its contents).
|
||||
- ${CHRONOS_ARCHIVE:-./archive}:/archive
|
||||
# Optional, with CHRONOS_SPACE_PATH above: the same share seen on the array only, to show the array's free space.
|
||||
# - /mnt/user0/Timelapse:/space:ro
|
||||
- ${CHRONOS_DATA:-./data}:/data
|
||||
|
||||
postgres:
|
||||
|
||||
@@ -80,6 +80,10 @@ admin panel shows under Settings so you can compare them.
|
||||
`docker login gitea.encke-hake.ts.net` with your Gitea account first.
|
||||
- Volumes: `/archive` (originals, sidecars, proxies, renders — the archive stays readable without Chronos) and `/data`
|
||||
(settings, TLS certificate, uploads in progress, logs).
|
||||
- Free space: the admin panel shows the archive volume's, or with `CHRONOS_SPACE_PATH` that of another folder. An
|
||||
Unraid share (`/mnt/user/<share>`) reports its primary storage, often the cache, while the mover sends the photos to
|
||||
the array: map the share's array view read-only (`/mnt/user0/<share>:/space:ro`) and set `CHRONOS_SPACE_PATH: /space`.
|
||||
Uploads always check the archive volume itself (`507` when it is full).
|
||||
- Upgrade: `docker compose pull && docker compose up -d`. Jobs in progress resume from their last checkpoint.
|
||||
- All settings: environment variables `CHRONOS_*` (see `docker-compose.yml`) or `/data/server.json`. Run
|
||||
`docker run --rm gitea.encke-hake.ts.net/balbosoft/chronos-server:latest --help` for the list.
|
||||
@@ -115,6 +119,8 @@ admin panel shows under Settings so you can compare them.
|
||||
archive share (default `/mnt/user/Timelapse`). The database host is the Unraid server's IP address (the PostgreSQL
|
||||
template publishes port 5432): container names resolve only when both containers are on the same custom Docker
|
||||
network, not on the default *bridge*. If you change the HTTPS port, enter the same port in *Public HTTPS port*.
|
||||
*Array view* is the same share under `/mnt/user0` (default `/mnt/user0/Timelapse`): the admin panel then shows the
|
||||
array's free space rather than the cache's. Change it with the archive share, or remove it and clear *Space path*.
|
||||
4. Open the WebUI (`http://[IP]:8080/admin`).
|
||||
|
||||
The template file is [`unraid/chronos.xml`](unraid/chronos.xml).
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
<Config Name="HTTPS port" Target="8443" Default="8443" Mode="tcp" Description="API over TLS for Chronos clients. When you change it, enter the same port in Public HTTPS port." Type="Port" Display="always" Required="true" Mask="false">8443</Config>
|
||||
<Config Name="Public HTTPS port" Target="CHRONOS_PUBLIC_HTTPS_PORT" Default="" Mode="" Description="The HTTPS port above, when it is not 8443; the admin panel redirects there." Type="Variable" Display="always" Required="false" Mask="false"/>
|
||||
<Config Name="Archive" Target="/archive" Default="/mnt/user/Timelapse" Mode="rw" Description="Originals, sidecars, proxies and renders." Type="Path" Display="always" Required="true" Mask="false">/mnt/user/Timelapse</Config>
|
||||
<Config Name="Array view" Target="/space" Default="/mnt/user0/Timelapse" Mode="ro" Description="Optional: the same share seen on the array only (/mnt/user0/<share>), to show the array's free space." Type="Path" Display="always" Required="false" Mask="false">/mnt/user0/Timelapse</Config>
|
||||
<Config Name="App data" Target="/data" Default="/mnt/user/appdata/chronos" Mode="rw" Description="Settings, TLS certificate, uploads in progress and logs." Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/chronos</Config>
|
||||
<Config Name="Admin user" Target="CHRONOS_ADMIN_USER" Default="admin" Mode="" Description="Created at first start when no administrator exists." Type="Variable" Display="always" Required="true" Mask="false">admin</Config>
|
||||
<Config Name="Admin password" Target="CHRONOS_ADMIN_PASSWORD" Default="" Mode="" Description="Initial password; a change is required at first sign-in." Type="Variable" Display="always" Required="true" Mask="true"/>
|
||||
@@ -36,6 +37,7 @@
|
||||
<Config Name="Database TLS" Target="CHRONOS_DB_SSLMODE" Default="prefer" Mode="" Description="disable, prefer, require or verify-full." Type="Variable" Display="advanced" Required="false" Mask="false">prefer</Config>
|
||||
<Config Name="TLS mode" Target="CHRONOS_TLS_MODE" Default="auto" Mode="" Description="auto (self-signed), pem (own certificate) or proxy (behind a reverse proxy)." Type="Variable" Display="advanced" Required="false" Mask="false">auto</Config>
|
||||
<Config Name="Trusted proxies" Target="CHRONOS_TRUSTED_PROXIES" Default="" Mode="" Description="TLS mode proxy: the fixed IP address of your reverse proxy container (put both containers on a custom Docker network and give the proxy a Fixed IP address there). Never a range, the network gateway or the default bridge 172.17.0.0/16: other containers and connections Docker relays would count as the proxy. Only loopback is trusted otherwise." Type="Variable" Display="advanced" Required="false" Mask="false"/>
|
||||
<Config Name="Space path" Target="CHRONOS_SPACE_PATH" Default="/space" Mode="" Description="Folder whose free space the admin panel shows: the Array view above (empty: the archive's, which on a cached share is the cache's)." Type="Variable" Display="advanced" Required="false" Mask="false">/space</Config>
|
||||
<Config Name="Server name" Target="CHRONOS_SERVER_NAME" Default="Chronos Server" Mode="" Description="Name shown to clients." Type="Variable" Display="advanced" Required="false" Mask="false">Chronos Server</Config>
|
||||
<Config Name="Parallelism" Target="CHRONOS_PARALLELISM" Default="" Mode="" Description="Jobs run one at a time: photos the running job processes at once (empty: half the cores, changeable in the admin panel)." Type="Variable" Display="advanced" Required="false" Mask="false"/>
|
||||
<Config Name="Priority queue" Target="CHRONOS_PRIORITY_QUEUE" Default="" Mode="" Description="true: a job of a higher kind pauses the running one, which resumes afterwards (empty: set it in the admin panel)." Type="Variable" Display="advanced" Required="false" Mask="false"/>
|
||||
|
||||
Reference in new issue
Block a user