Self-hosting
The package and requirements
What the release package holds, signature and checksum verification, and server, Docker, disk and network requirements.
Last updated:
The release package
An institution receives each release as one package named journalos-VERSION.tar. It holds the application and database images, the compose files, example settings files, the Caddy files, verify.sh, deploy.sh, install.sh, the restore drill (docker/drill.sh), the TLS check (tls-check.sh), the release note (RELEASE.md), SHA256SUMS and its signature SHA256SUMS.sig. Packages carry semantic version numbers.
Signature and checksums
verify.sh checks the Ed25519 signature of SHA256SUMS with the public key obtained through the publisher's own channel (OpenSSL 3 is needed), then compares every file's checksum; it refuses the package if it finds a file that is not on the list. deploy.sh runs the same check before installing and does not install an unsigned package.
The server
- Linux, x86_64 and root access.
- Docker Engine 24 or later, Compose 2.24 or later.
- CPU: at least 2 cores (4 or more recommended).
- Memory: at least 6 GB (8 GB or more recommended; the virus scanner alone uses about 1.5 GB).
- Disk: at least 30 GB free on Docker's disk (100 GB or more recommended).
- Required tools: openssl, sha256sum, sed, awk, df. curl, ss, dig and timedatectl are recommended.
The install script checks all of these; an unencrypted disk or clock synchronisation turned off is reported as a warning.
Network and domains
You need a name for the portal and a wildcard DNS record of the form *.domain for the journals. The entrance can be set up three ways: Caddy with Let's Encrypt (80 and 443 open), Caddy with the institution's own certificates, or the institution's own reverse proxy. TLS 1.2 and 1.3 are used; HSTS lasts a year.
Outbound connections: the mail server; optionally SMS, the alert webhook, ORCID, OpenAlex and the breached-password check; per journal Crossref, DOAJ, the journal's own ORCID clients (sign-in, iD verification and writing to ORCID records), the similarity check, webhooks and the link check; virus signature updates. The application sends no telemetry and makes no licence check-in. On first install some helper images (file store, virus scanner, pandoc, Caddy) are pulled from Docker Hub; the installation cannot be done fully offline.