fix: owner review 3 phase 1: server ports for clients, screenshot baselines (#16)
CI / Build and test (push) Successful in 9m36s
CI / Windows tests and installer (push) Skipped
CI / YAML check (push) Successful in 9s
Release / Build, test and publish (push) Successful in 14m4s
CI / PostgreSQL 16 integration (push) Successful in 8m26s
CI / PostgreSQL 17 integration (push) Successful in 8m43s
CI / Docker image (push) Successful in 50s
Release / Server image (push) Successful in 1m23s
CI / Build and test (push) Successful in 9m36s
CI / Windows tests and installer (push) Skipped
CI / YAML check (push) Successful in 9s
Release / Build, test and publish (push) Successful in 14m4s
CI / PostgreSQL 16 integration (push) Successful in 8m26s
CI / PostgreSQL 17 integration (push) Successful in 8m43s
CI / Docker image (push) Successful in 50s
Release / Server image (push) Successful in 1m23s
Clients could not reach a server in a container whose ports are published as other host ports: the panel showed the container's ports, the template had no public HTTP port, and a bare host meant port 443. Public ports become panel settings, the panel shows the client address, both clients default to 8443, and an address that answers as another service is named as not a Chronos server (its certificate never offered for trust). The screenshot baselines are captured on the development PC and committed; measured values are fixed while the capture runs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Alberto Balbo <alberto.balbo.96@gmail.com>
This commit was merged in pull request #16.
This commit is contained in:
1 parent
30a5b03f37
commit
255e149087
306 files changed
+2023
-206
No files matched your search
@@ -11,10 +11,14 @@ services:
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
# 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
|
||||
# Clients connect to https://<host>:8443, the Client address the admin panel shows (Settings › Network and TLS).
|
||||
# Publishing a port as another host port ("18443:8443")? Keep the container port (after the colon) and set
|
||||
# CHRONOS_PUBLIC_HTTPS_PORT and CHRONOS_PUBLIC_HTTP_PORT below, or the public ports in the admin panel, to the host
|
||||
# ports. LAN discovery reaches clients only with "network_mode: host"; on this bridge network clients type the
|
||||
# client address. With host networking drop "ports", give the postgres service
|
||||
# ports: ["127.0.0.1:5432:5432"] and set CHRONOS_DB_HOST to 127.0.0.1: the name "postgres" no longer resolves there.
|
||||
# The server then listens on the host's 8080 and 8443 itself: if another service uses either, set CHRONOS_HTTP_PORT
|
||||
# or CHRONOS_HTTPS_PORT below to a free port and leave the public ports unset.
|
||||
ports:
|
||||
- "8080:8080"
|
||||
- "8443:8443"
|
||||
@@ -35,7 +39,13 @@ services:
|
||||
# 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"
|
||||
# The host ports clients use, when "ports" publishes 8080 and 8443 as others. Set here, the admin panel can no
|
||||
# longer change them.
|
||||
# CHRONOS_PUBLIC_HTTP_PORT: "8080"
|
||||
# CHRONOS_PUBLIC_HTTPS_PORT: "8443"
|
||||
# The ports the server listens on, with network_mode: host only (on a bridge network the mapping above decides).
|
||||
# CHRONOS_HTTP_PORT: "8080"
|
||||
# CHRONOS_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
|
||||
|
||||
Reference in new issue
Block a user