Skip to content

Feature/docker ssl network - #27

Open
Louwrensth wants to merge 25 commits into
iterorganization:developfrom
Louwrensth:feature/docker-ssl-network
Open

Feature/docker ssl network#27
Louwrensth wants to merge 25 commits into
iterorganization:developfrom
Louwrensth:feature/docker-ssl-network

Conversation

@Louwrensth

@Louwrensth Louwrensth commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

PR Summary: feature/docker-ssl-network

nginx config modularization (3839d8d, b210f03, 50ca09b, 9569da3, a5029c1, 81bd9eb) — Split monolithic nginx config into reusable template snippets with runtime server-config selection.

HTTPS/SSL support (9569da3, 5b86009, 1286eb4, 04e0ceb, a5029c1) — Added compose override, HTTPS server block with TLS hardening, and HTTP→HTTPS redirect.

Self-signed certificate generation (b512dc5, 0f79db5) — Script for generating test TLS certificates with proper X.509 v3 SAN extensions.

Systemd service integration (92dc37b, 2bb577c, dbc3636, 552ba23) — Docker Compose-based systemd unit replacing old gunicorn-based service, with security hardening and environment file configuration.

Makefile overhaul (1286eb4, 552ba23, 5ef4b92) — Expanded Makefile with USE_HTTPS=1 toggle, comprehensive systemd targets, and dual-stack compose handling.

Dockerfile restructuring (a5029c1, 81bd9eb) — Switched from single-file config to directory-level template, entrypoint, and SSL copies; port 443 exposed.

Docker Compose base updates (a5029c1) — Added container naming and whole-directory template mounts.

Ignore file maintenance (e305deb) — Updated .dockerignore and .gitignore for SSL certs, dev artifacts, and env files.

Documentation (7991af1) — Expanded installation docs with HTTPS workflow, systemd guides, and env var reference.

Repository housekeeping (cf1b8ba, 5715458) — Renamed CI workflow, updated CODEOWNERS.

@Louwrensth
Louwrensth force-pushed the feature/docker-ssl-network branch from fccf89a to 6c81174 Compare July 6, 2026 02:54
@Louwrensth
Louwrensth force-pushed the feature/docker-ssl-network branch from 6c81174 to a5029c1 Compare July 6, 2026 03:19
@Louwrensth

Louwrensth commented Aug 8, 2026

Copy link
Copy Markdown
Contributor Author

Update image for systemd

The service is using an env file with several runtime variables, update the SIMDB_DASHBOARD_IMAGE or SIMDB_DASHBOARD_TAG

[vandell-adm@io-ls-imas-t01 SimDB-Dashboard]$ sudo vim /etc/simdb-dashboard/simdb-dashboard.env

Note that we only review these lines:

## Used in docker-compose.systemd.yml
#SIMDB_DASHBOARD_TAG=service-0.9.0-68-g8819049
SIMDB_DASHBOARD_IMAGE=ghcr.io/louwrensth/simdb-dashboard:service-0.9.0-88-g81bd9eb

Restart service

Optionally, if the service file was modified (not the case now but still doesn't hurt), reload systemd:

[vandell-adm@io-ls-imas-t01 SimDB-Dashboard]$ sudo systemctl daemon-reload

Restart the systemd service:

[vandell-adm@io-ls-imas-t01 SimDB-Dashboard]$ sudo systemctl restart simdb-dashboard.service

@olivhoenen
olivhoenen marked this pull request as ready for review August 10, 2026 14:45
@Louwrensth
Louwrensth force-pushed the feature/docker-ssl-network branch from bb9be9c to 81bd9eb Compare August 13, 2026 22:22
Comment thread docker-compose.systemd.yml Outdated
Comment thread Makefile Outdated
@olivhoenen
olivhoenen self-requested a review August 14, 2026 16:02
gzip compressed the index-<hash>.js from 5.6 -> 1.7 MB.
caching public, immutable makes the browser not GET it again.

surprisingly, not using gzip_static also voids caching behavior of
browser.
@Louwrensth

Copy link
Copy Markdown
Contributor Author

Wow, bef7350 made a big impact.

Before, browsers were downloading the same 5.6MB .js file again and again (every page!), now they only GET 1.7MB once, and never check again for changes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants