Skip to content

Releases

v1.0.3 — TLS 1.2/1.3 only, and the removed `ssl on` directive

Choose a tag to compare

@snuids snuids released this 26 Nov 16:13

TLS 1.0 and 1.1 are gone

ssl_protocols TLSv1 TLSv1.1 TLSv1.2 becomes TLSv1.2 TLSv1.3 in the three server blocks
that serve TLS: :443 (the console), :9200 (Elasticsearch) and :61619 (the ActiveMQ console).
TLS 1.0 and 1.1 have been deprecated since RFC 8996 and are refused by every current browser;
nothing in the stack needs them.

The cipher list is unchanged, and a comment now says why it does not need to be: ssl_ciphers
governs TLS 1.2 only, TLS 1.3 suites are chosen by OpenSSL.

And a proxy that would not have started

The same blocks used ssl on; with a bare listen 443;. That directive was deprecated in nginx
1.15 and removed in 1.25 — and this stack runs openresty/openresty:alpine, a floating tag.
On any current image the config fails to load with unknown directive "ssl", so the next pull
would have left the platform without a reverse proxy. The three blocks now use the modern form:

listen 443   ssl;
listen 9200  ssl;
listen 61619 ssl;

Same behaviour as before, on the nginx that ships today.

Upgrading

cd nyx/nginx && docker compose exec nginx nginx -t    # must pass before anything else
cd ../docker-compose && docker compose up -d nginx

If nginx -t fails on a block other than these three, the config was already broken on this
image — the fix is not to restore ssl on, it is to give that block a listen ... ssl.

Still open

openresty/openresty:alpine is still unpinned, which is what made this a trap rather than a
non-event. Pinning it is the next stack change worth making.

v1.0.2 — no certificate in the package

Choose a tag to compare

@snuids snuids released this 26 Nov 15:27

No certificate in the package

v1.0.0 shipped nyx/certs/nyx.crt, nyx/nginx/server.crt and nyx/nginx/server.csr. None had a
key beside it — .gitignore has always excluded *.key — so those files were either a demo
certificate nobody rotates or the operator's own public certificate copied into every clone. And a
fresh clone could not start the proxy anyway, since nginx needs the key to match the certificate.

They are gone, and the stack generates what it needs.

What a fresh clone does now

cd nyx/docker-compose
cp .env.example .env       # PG_PASSWORD, AMQC_PASSWORD
docker compose up -d

certgen (alpine/openssl:3.5.9, pinned) runs first — nginx waits for it with
condition: service_completed_successfully — and writes a self-signed pair into nyx/certs/:
2048-bit RSA, 825 days, key in 600, CN and subjectAltName taken from NYX_HOST, plus
localhost and 127.0.0.1 always present. No openssl command, no missing file.

NYX_HOST=nyx.example.com docker compose up -d

What it does not do

  • It never overwrites. A pair already in nyx/certs/ makes certgen exit saying so, which is
    what lets an operator drop a real certificate there and keep it across restarts and pulls.
  • It does not issue anything trusted. A self-signed certificate is valid for a local instance;
    a real one comes from your CA. See nyx/certs/README.md for the two paths.

Upgrading from v1.0.1

Nothing to migrate: if nyx/certs/ already holds your pair, keep it. If it holds the old demo
nyx.crt without a key, delete both and let certgen run — otherwise nginx keeps failing on
the same mismatch.

Also in this release

Documentation no longer asks for a manual openssl step (README quick start, Getting started,
configuration table, docs/operations.md, running_locally.md, SECURITY.md), and the stale
Log.io references left by v1.0.1 are removed from README, running_locally.md,
docs/architecture.md, docs/operations.md and folder_contents.md.

Still open

  • openresty/openresty:alpine remains the only image without a pinned version.
  • ssl_protocols TLSv1 TLSv1.1 TLSv1.2; in both server blocks still allows TLS 1.0 and 1.1.

v1.0.1 — log.io retired, /logs/ served by nyx_logs

Choose a tag to compare

@snuids snuids released this 26 Nov 15:20

log.io retired

/logs/ used to proxy to logioweb (log.io) at 28778, while the console's own log and file
browser — nyx_logs — was deployed and unreachable. Two services are gone and the URL now serves
the browser it was always meant to.

The stack in this release

25 services (was 27). Image tags unchanged from v1.0.0 except where noted; Elasticsearch,
Kibana, PostgreSQL, Redis and Node-RED do not move.

Image Tag
nyx_rest v3.22.21
nyx_ui v3.5.0
nyx_logs v1.3 — now routed at /logs/
nyx_ws_server v1.2.4
nyx_rest_helper v1.3.0
nyx_lambda v1.6.3
nyx-reportrunner v1.9.29
nyx_reportscheduler v1.0.9
nyx-jasper-creator 1.0.21
camel4 v1.2
activemq-amqcmonitoring v6.3.3
nyxmonitordocker v1.1.0c
blacklabelops/logio removed

What changed for an operator

  • docker compose up -d --remove-orphans is required: logioweb and harvester are no longer
    defined, and without --remove-orphans the old containers keep running and keep the old images
    on the host.
  • nginx/default.conf changes: location /logs/ → nyx_logs:80, and the
    rewrite ^/logs/(.*) /$1 break; is removed on purpose — nyx_logs is built with base /logs/
    and its assets live under that prefix. The nyx_logs cookie + Redis gate is untouched.
  • /socket.io/ is no longer answered by OpenResty. Nothing else in the stack used it: the
    console's live status goes through nyx_ws_server.
  • Reload OpenResty only after nginx -t passes on the host.

Still open

  • openresty/openresty:alpine is the last image without a pinned version.
  • The pins still lag the component repositories: nyx_ui at v3.5.0 against v3.6.47,
    nyx_rest at v3.22.21 against v3.22.41.

v1.0.0 — the stack as it runs in production

Choose a tag to compare

@snuids snuids released this 26 Nov 14:36

The stack as it runs in production

First tagged state of the deployment repository. It is the exact set of image tags, routing and
service configuration that nyx/docker-compose/docker-compose.yml deploys today: 27 services,
one docker compose up -d away from a working platform.

This repository carries its own sequence from here (vX.Y.Z, first two digits for the stack
itself); the components keep theirs — the third digit moves on every component release, see
docs/operations.md.

Components pinned in this release

Image Tag What it is
nyx_rest v3.22.21 REST API behind the console and the integrations
nyx_ui v3.5.0 Web interface
nyx_rest_helper v1.3.0 Sidecar the API delegates long operations to
nyx_lambda v1.6.3 Ingestion worker
nyx-reportrunner v1.9.29 Scheduled report generation
nyx_reportscheduler v1.0.9 Report scheduling
nyx-jasper-creator 1.0.21 Jasper template handling, driven by the broker
nyx_logs v1.3 Log and file browser
nyx_ws_server v1.2.4 ActiveMQ → WebSocket bridge for live status
camel4 v1.2 Camel integration workers
activemq-amqcmonitoring v6.3.3 AMQC monitoring front-end
nyxmonitordocker v1.1.0c Container monitoring

Platform versions, pinned and upgraded separately (a data migration, not a tag change):
Elasticsearch and Kibana 8.19.23, PostgreSQL 14.17, Redis 7.4.2, Node-RED 4.0.9-22,
Curator 8.0.21, Cerebro 0.9.4.

What this state includes

  • The XLS importer is retired. The platform no longer imports spreadsheets: Camel workers and
    the Lambda ingestion path are what load data now.
  • The report pipeline is documented end to end — from the Generate button in the console to
    the mailbox that receives the PDF — and its Node-RED flows are under version control in this
    repository, not only on the production host.
  • Every sign-in path is documented: password, GitHub and Entra SSO, including the API side of
    each.
  • The API contract is written down, including the conditional write on generic/<index>/<id>
    that refuses a save built on an index the browser had not reloaded.

Upgrading an instance

cd nyx/docker-compose
docker compose pull
docker compose up -d
curl -sk https://HOST/api/v1/config      # check the reported version

Application images are built by each component repository and pinned by tag here — never by
editing code in this repository. Read the API's version history before jumping several minor
releases; the behaviour changes (token required on /api/v1/upload, allowed roots for
/api/v1/streamfile, HTTP status codes) are listed there.

Licence

BSD 2-Clause. The stack is meant to be deployed and modified; see
SECURITY.md before exposing an
instance to the internet.

Known gaps in this state

Stated rather than hidden, because the next tag has to close them:

  • Two images float. blacklabelops/logio:latest and openresty/openresty:alpine are not
    pinned to a version; the rest of the stack is. A rebuild of either can change behaviour without
    this file changing.
  • The pin lags the components. nyx_ui is pinned at v3.5.0 while its repository has
    released v3.6.47; nyx_rest at v3.22.21 while the repository is at v3.22.41. This release
    documents the state that is deployed and verified, not the latest of each component.