refactor!: rename Titano to Chronos and move CI and releases to Gitea
CI / Build and test (pull_request) Failing after 2m3s
CI / PostgreSQL 16 integration (pull_request) Skipped
CI / PostgreSQL 17 integration (pull_request) Skipped
CI / Docker image (pull_request) Skipped
CI / Windows tests and installer (pull_request) Skipped
CI / YAML check (pull_request) Successful in 4s

The owner renamed the product and moved the repository to the self-hosted
Gitea (https://gitea.encke-hake.ts.net/BalboSoft/Chronos) for more control,
and asked for Actions and a first automatic release with the server package
and the Windows exe (docs/requests/2026-10-23-chronos-gitea.md).

- Chronos everywhere: a byte-exact rename of contents and paths, then a
  per-language review of the forms the old name's ending had dictated.
- Gitea instead of GitHub: the update check, licence, issue and support
  links read ChronosReleasesUrl; the update check takes the highest stable
  version, offers a pre-release build its final release and reports a
  repository it cannot see as a failed check. EULA, security policy and
  Gitea issue forms live at the repository root.
- Gitea Actions for the Linux act_runner (.gitea/workflows): CI, release,
  nightly image and performance gates in the .NET SDK container with git
  checkout. The release cross-compiles the Windows programs, checks their
  icon, version and DPI manifest, packs installers and zips, publishes the
  Gitea release and pushes the server image (REGISTRY_TOKEN). Windows-only
  tests run in an opt-in job on a Windows runner (WINDOWS_RUNNER).
- New Chronos.Tools commands: zip, gitea-release, postgres-ci (replaces the
  docker-exec script, which Gitea's service containers do not allow) and
  pe-check.

BREAKING CHANGE: programs, settings, data folders, file types, environment
variables and the Docker image use the new name; nothing is migrated from
Titano, which never had a release.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Alby96andClaude Opus 5.5 committed 2026-10-23 11:34:48 +02:00
1 parent c99842cc86
commit 5f27a86406
1799 files changed
+11728 -10668

No files matched your search

+5 -5
View File
@@ -1,9 +1,9 @@
TITANO_ADMIN_PASSWORD=change-me-at-first-login
TITANO_DB_PASSWORD=choose-a-long-random-password
CHRONOS_ADMIN_PASSWORD=change-me-at-first-login
CHRONOS_DB_PASSWORD=choose-a-long-random-password
# Folder of your archive, owned by PUID:PGID (an empty or root-owned folder is given to them at the first start)
TITANO_ARCHIVE=/mnt/user/Timelapse
TITANO_DATA=./data
TITANO_PGDATA=./pgdata
CHRONOS_ARCHIVE=/mnt/user/Timelapse
CHRONOS_DATA=./data
CHRONOS_PGDATA=./pgdata
PUID=1000
PGID=1000
TZ=Europe/Rome
+22 -22
View File
@@ -1,33 +1,33 @@
# Titano Server — multi-stage, multi-arch (linux/amd64, linux/arm64). BRIEF §14.9.
# Chronos Server — multi-stage, multi-arch (linux/amd64, linux/arm64). BRIEF §14.9.
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:10.0 AS build
ARG TARGETARCH
ARG TITANO_VERSION=0.0.0-dev
ARG CHRONOS_VERSION=0.0.0-dev
WORKDIR /src
COPY global.json Directory.Build.props Directory.Build.targets Titano.slnx ./
COPY global.json Directory.Build.props Directory.Build.targets Chronos.slnx ./
COPY i18n/ i18n/
COPY src/Titano.Core/ src/Titano.Core/
COPY src/Titano.Data/ src/Titano.Data/
COPY src/Titano.Protocol/ src/Titano.Protocol/
COPY src/Titano.Server/ src/Titano.Server/
RUN dotnet publish src/Titano.Server/Titano.Server.csproj \
COPY src/Chronos.Core/ src/Chronos.Core/
COPY src/Chronos.Data/ src/Chronos.Data/
COPY src/Chronos.Protocol/ src/Chronos.Protocol/
COPY src/Chronos.Server/ src/Chronos.Server/
RUN dotnet publish src/Chronos.Server/Chronos.Server.csproj \
-c Release -a "$TARGETARCH" --no-self-contained \
-p:TitanoVersion="$TITANO_VERSION" -o /out \
-p:ChronosVersion="$CHRONOS_VERSION" -o /out \
&& rm -f /out/*.pdb
FROM mcr.microsoft.com/dotnet/aspnet:10.0
ARG TITANO_VERSION=0.0.0-dev
LABEL org.opencontainers.image.title="Titano Server" \
ARG CHRONOS_VERSION=0.0.0-dev
LABEL org.opencontainers.image.title="Chronos Server" \
org.opencontainers.image.description="Time-lapse archive, uploads, jobs and rendering server" \
org.opencontainers.image.version="$TITANO_VERSION" \
org.opencontainers.image.licenses="LicenseRef-Titano-EULA"
org.opencontainers.image.version="$CHRONOS_VERSION" \
org.opencontainers.image.licenses="LicenseRef-Chronos-EULA"
# ASPNETCORE_HTTP_PORTS is emptied: the server binds its own ports, and the base image's 8080 only made Kestrel warn
# "Overriding address(es)" at every start.
ENV TITANO_ARCHIVE_PATH=/archive \
TITANO_DATA_PATH=/data \
TITANO_HTTP_PORT=8080 \
TITANO_HTTPS_PORT=8443 \
TITANO_DB=postgres \
ENV CHRONOS_ARCHIVE_PATH=/archive \
CHRONOS_DATA_PATH=/data \
CHRONOS_HTTP_PORT=8080 \
CHRONOS_HTTPS_PORT=8443 \
CHRONOS_DB=postgres \
PUID=1000 \
PGID=1000 \
ASPNETCORE_HTTP_PORTS= \
@@ -36,10 +36,10 @@ ENV TITANO_ARCHIVE_PATH=/archive \
DOTNET_NOLOGO=1
WORKDIR /app
COPY --from=build /out/ ./
COPY deploy/docker/entrypoint.sh /usr/local/bin/titano-entrypoint
RUN chmod 0755 /usr/local/bin/titano-entrypoint && mkdir -p /archive /data
COPY deploy/docker/entrypoint.sh /usr/local/bin/chronos-entrypoint
RUN chmod 0755 /usr/local/bin/chronos-entrypoint && mkdir -p /archive /data
VOLUME ["/archive", "/data"]
EXPOSE 8080 8443
HEALTHCHECK --interval=30s --timeout=8s --start-period=40s --retries=3 \
CMD ["dotnet", "/app/Titano.Server.dll", "--healthcheck"]
ENTRYPOINT ["/usr/local/bin/titano-entrypoint"]
CMD ["dotnet", "/app/Chronos.Server.dll", "--healthcheck"]
ENTRYPOINT ["/usr/local/bin/chronos-entrypoint"]
+32 -31
View File
@@ -1,66 +1,67 @@
# Titano Server with PostgreSQL 17. Start: docker compose up -d Admin panel: http://<host>:8080/admin
name: titano
# Chronos Server with PostgreSQL 17. Start: docker compose up -d Admin panel: http://<host>:8080/admin
name: chronos
services:
titano:
image: ghcr.io/alby96/titano-server:latest
chronos:
# While the organisation on Gitea is private, sign in before pulling: docker login gitea.encke-hake.ts.net
image: gitea.encke-hake.ts.net/balbosoft/chronos-server:latest
restart: unless-stopped
depends_on:
postgres:
condition: service_healthy
# Publishing a port as another host port ("18443:8443")? Set TITANO_PUBLIC_HTTPS_PORT (and _HTTP_PORT) below to the
# Publishing a port as another host port ("18443:8443")? Set CHRONOS_PUBLIC_HTTPS_PORT (and _HTTP_PORT) below to the
# host port. LAN discovery reaches clients only with "network_mode: host"; on this bridge network clients add the
# server by its address. With host networking drop "ports", give the postgres service
# ports: ["127.0.0.1:5432:5432"] and set TITANO_DB_HOST to 127.0.0.1: the name "postgres" no longer resolves there.
# ports: ["127.0.0.1:5432:5432"] and set CHRONOS_DB_HOST to 127.0.0.1: the name "postgres" no longer resolves there.
ports:
- "8080:8080"
- "8443:8443"
environment:
TITANO_ADMIN_USER: admin
TITANO_ADMIN_PASSWORD: ${TITANO_ADMIN_PASSWORD:?set TITANO_ADMIN_PASSWORD in .env}
# postgres (with the TITANO_DB_* values below) or a full connection string: Host=…;Database=…;Username=…;Password=…
TITANO_DB: postgres
TITANO_DB_HOST: postgres
TITANO_DB_NAME: titano
TITANO_DB_USER: titano
TITANO_DB_PASSWORD: ${TITANO_DB_PASSWORD:?set TITANO_DB_PASSWORD in .env}
# auto (self-signed), pem or proxy. Behind a proxy, set TITANO_TRUSTED_PROXIES to the proxy's own address (only
CHRONOS_ADMIN_USER: admin
CHRONOS_ADMIN_PASSWORD: ${CHRONOS_ADMIN_PASSWORD:?set CHRONOS_ADMIN_PASSWORD in .env}
# postgres (with the CHRONOS_DB_* values below) or a full connection string: Host=…;Database=…;Username=…;Password=…
CHRONOS_DB: postgres
CHRONOS_DB_HOST: postgres
CHRONOS_DB_NAME: chronos
CHRONOS_DB_USER: chronos
CHRONOS_DB_PASSWORD: ${CHRONOS_DB_PASSWORD:?set CHRONOS_DB_PASSWORD in .env}
# auto (self-signed), pem or proxy. Behind a proxy, set CHRONOS_TRUSTED_PROXIES to the proxy's own address (only
# loopback is trusted otherwise). Give a proxy container a fixed one (ipv4_address, on a network with an ipam
# subnet that this service joins too) and let it reach Titano on that network, not through a published port.
# subnet that this service joins too) and let it reach Chronos on that network, not through a published port.
# Never list a subnet or the network's gateway (.1): Docker relays connections to the published ports (IPv6
# clients, the host) from the gateway, and each of them could then choose its client address. For a proxy on the
# host itself, run this service with network_mode: host; the proxy then reaches Titano over loopback.
TITANO_TLS_MODE: auto
# TITANO_TRUSTED_PROXIES: "172.30.0.10"
# TITANO_PUBLIC_HTTPS_PORT: "8443"
TITANO_SERVER_NAME: Titano Server
# host itself, run this service with network_mode: host; the proxy then reaches Chronos over loopback.
CHRONOS_TLS_MODE: auto
# CHRONOS_TRUSTED_PROXIES: "172.30.0.10"
# CHRONOS_PUBLIC_HTTPS_PORT: "8443"
CHRONOS_SERVER_NAME: Chronos Server
# Jobs run one at a time. Photos the running job processes at once (default: half the cores), and the priority queue
# (a higher job pauses the running one, which resumes afterwards). Set here, they can no longer be changed in the
# admin panel's Settings.
# TITANO_PARALLELISM: "4"
# TITANO_PRIORITY_QUEUE: "true"
# CHRONOS_PARALLELISM: "4"
# CHRONOS_PRIORITY_QUEUE: "true"
# Trace, Debug, Information, Warning or Error
TITANO_LOG_LEVEL: Information
CHRONOS_LOG_LEVEL: Information
PUID: ${PUID:-1000}
PGID: ${PGID:-1000}
TZ: ${TZ:-UTC}
volumes:
# 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).
- ${TITANO_ARCHIVE:-./archive}:/archive
- ${TITANO_DATA:-./data}:/data
- ${CHRONOS_ARCHIVE:-./archive}:/archive
- ${CHRONOS_DATA:-./data}:/data
postgres:
image: postgres:17
restart: unless-stopped
environment:
POSTGRES_DB: titano
POSTGRES_USER: titano
POSTGRES_PASSWORD: ${TITANO_DB_PASSWORD:?set TITANO_DB_PASSWORD in .env}
POSTGRES_DB: chronos
POSTGRES_USER: chronos
POSTGRES_PASSWORD: ${CHRONOS_DB_PASSWORD:?set CHRONOS_DB_PASSWORD in .env}
volumes:
- ${TITANO_PGDATA:-./pgdata}:/var/lib/postgresql/data
- ${CHRONOS_PGDATA:-./pgdata}:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U titano -d titano"]
test: ["CMD-SHELL", "pg_isready -U chronos -d chronos"]
interval: 10s
timeout: 5s
retries: 10
+10 -10
View File
@@ -1,5 +1,5 @@
#!/bin/sh
# Runs Titano Server as PUID:PGID (Unraid/NAS convention). The data folder is owned by that user. The archive is left
# Runs Chronos Server as PUID:PGID (Unraid/NAS convention). The data folder is owned by that user. The archive is left
# as mounted (it may hold terabytes) and only checked for write access; only when that user cannot write it and the
# folder is empty or owned by root (Docker creates a missing bind source or a fresh volume that way) is the folder
# itself, never its contents, given to PUID:PGID.
@@ -7,13 +7,13 @@ set -eu
PUID="${PUID:-1000}"
PGID="${PGID:-1000}"
DATA="${TITANO_DATA_PATH:-/data}"
ARCHIVE="${TITANO_ARCHIVE_PATH:-/archive}"
DATA="${CHRONOS_DATA_PATH:-/data}"
ARCHIVE="${CHRONOS_ARCHIVE_PATH:-/archive}"
umask 002
# Help and the health probe touch neither folder.
case "${1:-}" in
--help | -h | -\? | /\? | --healthcheck) exec dotnet /app/Titano.Server.dll "$@" ;;
--help | -h | -\? | /\? | --healthcheck) exec dotnet /app/Chronos.Server.dll "$@" ;;
esac
as_user() {
@@ -27,7 +27,7 @@ if [ "$(id -u)" = "0" ]; then
if [ -z "$(ls -A "$ARCHIVE")" ] || [ "$(stat -c %u "$ARCHIVE")" = "0" ]; then
owner="$(stat -c %u:%g "$ARCHIVE")"
if chown "$PUID:$PGID" "$ARCHIVE" 2>/dev/null; then
echo "titano: $ARCHIVE belonged to $owner; it now belongs to $PUID:$PGID (the folder only, not its contents)"
echo "chronos: $ARCHIVE belonged to $owner; it now belongs to $PUID:$PGID (the folder only, not its contents)"
fi
fi
if ! as_user test -w "$ARCHIVE"; then
@@ -35,15 +35,15 @@ if [ "$(id -u)" = "0" ]; then
exit 1
fi
fi
# The server writes into the archive's .titano folders at once (staging, trash, locks); one left to root by an
# The server writes into the archive's .chronos folders at once (staging, trash, locks); one left to root by an
# earlier run as root, or copied in by root, would stop it in a restart loop. Reported, never chowned.
for dir in "$ARCHIVE/.titano" "$ARCHIVE/.titano"/*/; do
for dir in "$ARCHIVE/.chronos" "$ARCHIVE/.chronos"/*/; do
if [ -d "$dir" ] && ! as_user test -w "$dir"; then
echo "error: ${dir%/} is not writable by $PUID:$PGID; give that user write access to it on the host (for example chown -R $PUID:$PGID <archive>/.titano)" >&2
echo "error: ${dir%/} is not writable by $PUID:$PGID; give that user write access to it on the host (for example chown -R $PUID:$PGID <archive>/.chronos)" >&2
exit 1
fi
done
exec setpriv --reuid="$PUID" --regid="$PGID" --clear-groups -- dotnet /app/Titano.Server.dll "$@"
exec setpriv --reuid="$PUID" --regid="$PGID" --clear-groups -- dotnet /app/Chronos.Server.dll "$@"
fi
exec dotnet /app/Titano.Server.dll "$@"
exec dotnet /app/Chronos.Server.dll "$@"