Skip to content
Barynt v1.0.12

Install

One command installs Barynt on a Linux server: it checks Docker, asks for your domain, generates every secret and starts the stack with HTTPS.

Requirements

  • Linux on amd64 or arm64 (macOS works for trying it out)
  • Docker with the Compose plugin. The installer offers to install it if it’s missing.
  • For HTTPS: a domain, plus a second one for uploaded files (files. by default), both pointing at the server, and ports 80 and 443 open

Install

Terminal window
curl -fsSL https://github.com/Jafoson/Barynt/releases/latest/download/install.sh | sh

The installer asks for your domain and the one for uploaded files. Leave the domain empty to run Barynt locally on http://localhost:3000.

Without questions

For cloud-init or a provisioning script, pass the answers as options:

Terminal window
curl -fsSL https://github.com/Jafoson/Barynt/releases/latest/download/install.sh \
| sh -s -- --domain issues.example.com --yes
OptionWhat it does
--domain NAMEDomain for HTTPS, e.g. issues.example.com
--files-domain NAMEDomain for uploaded files, files.<domain> by default
--version X.Y.ZInstall this release instead of the newest
--dir DIRInstallation directory, /opt/barynt by default
--install-dockerInstall Docker if it’s missing, without asking
--yesDon’t ask, take the defaults
--dry-runShow what would happen, change nothing

What it sets up

In /opt/barynt: docker-compose.yml, Caddyfile, an example.env for reference and your .env (readable only by you) with a generated AUTH_SECRET, database password and storage key. The installer also puts itself on your path as barynt.

First sign-in

Open your domain and create the first account. It becomes the administrator. Then the barynt command takes care of everything else.