---
title: "Deploy Huly | (Just Updated) Linear and Jira Alternative, Project Management, Sign-up Closed"
description: "Huly project management, Linear and Jira alternative, issues and docs"
category: "Other"
url: https://railway.com/deploy/huly-or-just-updated-linear-and-jira-alt
---

# Deploy Huly | (Just Updated) Linear and Jira Alternative, Project Management, Sign-up Closed

Huly project management, Linear and Jira alternative, issues and docs

**[Deploy Huly | (Just Updated) Linear and Jira Alternative, Project Management, Sign-up Closed on Railway](https://railway.com/template/huly-or-just-updated-linear-and-jira-alt)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/huly-or-just-updated-linear-and-jira-alt/manifest.json

- **Creator:** SuperSlowSloth
- **Category:** Other

## Template content

### rekoni

- **Image:** hardcoreeng/rekoni-service:v0.7.426@sha256:d148cefc5e55372a4d5d513626136618f814ee341eff1be9deffbeb74c8b5fed
- **Start command:** `/bin/bash -c 'R=railway.internal; DB="postgres://selfhost:$CR_PASSWORD@cockroach.$R:26257/defaultdb"; ST="minio|minio.$R?accessKey=$MINIO_ROOT_USER&secretKey=$MINIO_ROOT_PASSWORD"; H="${HOST_ADDRESS#https://}"; H="${H%/}"; PUB="https://$H"; w(){ until (exec 3<>"/dev/tcp/$1.$R/$2") 2>/dev/null; do sleep 2; done; }; echo "[huly] public address: $H";  export SECRET="$SECRET"; export PORT="4004"; cd /usr/src/app; exec node ./bundle.js'`

### minio

- **Image:** pgsty/silo@sha256:c20d112390b9a9ce8c11b8af95ad35bcaa62f4759663c09c936cd8d2b511f329
- **Start command:** `/bin/sh -c 'export HOME=/tmp; exec silo server /data --address :9000 --console-address :9001'`

### workspace

- **Image:** hardcoreeng/workspace:v0.7.426@sha256:9a95e4fc7616fb427111400191a9cff42e5e8e56c893c61bfa15055b1bfadb53
- **Start command:** `/bin/bash -c 'R=railway.internal; DB="postgres://selfhost:$CR_PASSWORD@cockroach.$R:26257/defaultdb"; ST="minio|minio.$R?accessKey=$MINIO_ROOT_USER&secretKey=$MINIO_ROOT_PASSWORD"; H="${HOST_ADDRESS#https://}"; H="${H%/}"; PUB="https://$H"; w(){ until (exec 3<>"/dev/tcp/$1.$R/$2") 2>/dev/null; do sleep 2; done; }; echo "[huly] public address: $H"; w cockroach 26257; w redpanda 9092; w minio 9000; export SERVER_SECRET="$SECRET"; export DB_URL="$DB"; export STORAGE_CONFIG="$ST"; export STATS_URL="http://stats.$R:4900"; export ACCOUNTS_URL="http://account.$R:3000"; export QUEUE_CONFIG="redpanda.$R:9092"; export TRANSACTOR_URL="ws://transactor.$R:3333;wss://$H/_transactor"; export MODEL_ENABLED="*"; export ACCOUNTS_DB_URL="$DB"; cd /usr/src/app; exec node bundle.js'`

### stats

- **Image:** hardcoreeng/stats:v0.7.426@sha256:9a08a6ec7f80e13d3d3694247087751727227152bb23fdc88f53f8fae1a07183
- **Start command:** `/bin/bash -c 'R=railway.internal; DB="postgres://selfhost:$CR_PASSWORD@cockroach.$R:26257/defaultdb"; ST="minio|minio.$R?accessKey=$MINIO_ROOT_USER&secretKey=$MINIO_ROOT_PASSWORD"; H="${HOST_ADDRESS#https://}"; H="${H%/}"; PUB="https://$H"; w(){ until (exec 3<>"/dev/tcp/$1.$R/$2") 2>/dev/null; do sleep 2; done; }; echo "[huly] public address: $H";  export PORT="4900"; export SERVER_SECRET="$SECRET"; cd /usr/src/app; exec node bundle.js'`

### front

- **Image:** hardcoreeng/front:v0.7.426@sha256:96d5270cb1f46cbe2d67a9cee79a83f184bbf5b6daf02ee8e2cbbb2522ce759f
- **Start command:** `/bin/bash -c 'R=railway.internal; DB="postgres://selfhost:$CR_PASSWORD@cockroach.$R:26257/defaultdb"; ST="minio|minio.$R?accessKey=$MINIO_ROOT_USER&secretKey=$MINIO_ROOT_PASSWORD"; H="${HOST_ADDRESS#https://}"; H="${H%/}"; PUB="https://$H"; w(){ until (exec 3<>"/dev/tcp/$1.$R/$2") 2>/dev/null; do sleep 2; done; }; echo "[huly] public address: $H"; w account 3000; export SERVER_PORT="8080"; export SERVER_SECRET="$SECRET"; export LOVE_ENDPOINT="$PUB/_love"; export ACCOUNTS_URL="$PUB/_accounts"; export ACCOUNTS_URL_INTERNAL="http://account.$R:3000"; export REKONI_URL="$PUB/_rekoni"; export CALENDAR_URL="$PUB/_calendar"; export GMAIL_URL="$PUB/_gmail"; export TELEGRAM_URL="$PUB/_telegram"; export STATS_URL="$PUB/_stats"; export UPLOAD_URL="/files"; export ELASTIC_URL="http://elastic.$R:9200"; export COLLABORATOR_URL="wss://$H/_collaborator"; export STORAGE_CONFIG="$ST"; export TITLE="Huly"; export DEFAULT_LANGUAGE="en"; export LAST_NAME_FIRST="true"; export DESKTOP_UPDATES_CHANNEL="0.7.426"; export DISABLED_FEATURES="auto-translate,mailboxes"; cd /app; exec node ./bundle.js'`

### cockroach

- **Image:** cockroachdb/cockroach:latest-v24.2@sha256:885d9b0e3243f262976763717e547dbbe75ca999548f7a4ea95fcd30a9aee66c
- **Start command:** `/bin/bash -c 'C=/tmp/certs; K=/cockroach/cockroach; D=/cockroach/cockroach-data; Q=$(echo x | tr x "\047"); rm -rf $C; mkdir -p $C $D; echo "[huly] cockroach uid=$(id -u) mount_owner=$(stat -c %u:%g $D)"; $K cert create-ca --certs-dir=$C --ca-key=$C/ca.key && $K cert create-node --certs-dir=$C --ca-key=$C/ca.key localhost 127.0.0.1 cockroach.railway.internal && $K cert create-client --certs-dir=$C --ca-key=$C/ca.key root || exit 1; ( until $K sql --certs-dir=$C --host=127.0.0.1 -e "SELECT 1" >/dev/null 2>&1; do sleep 2; done; until $K sql --certs-dir=$C --host=127.0.0.1 -e "CREATE DATABASE IF NOT EXISTS defaultdb" -e "CREATE USER IF NOT EXISTS selfhost" -e "ALTER USER selfhost WITH PASSWORD ${Q}${CR_PASSWORD}${Q}" -e "GRANT ALL ON DATABASE defaultdb TO selfhost" -e "GRANT admin TO selfhost" >/dev/null 2>&1; do sleep 2; done; echo "[huly] cockroach user ready" ) & exec $K start-single-node --accept-sql-without-tls --certs-dir=$C --store=$D --advertise-addr=localhost --cache=.2 --max-sql-memory=.2'`

### transactor

- **Image:** hardcoreeng/transactor:v0.7.426@sha256:4bbf156ff7ba06c665930d40bb577f6b549d1f9eeaa7270de5d98ac7fdd7465c
- **Start command:** `/bin/bash -c 'R=railway.internal; DB="postgres://selfhost:$CR_PASSWORD@cockroach.$R:26257/defaultdb"; ST="minio|minio.$R?accessKey=$MINIO_ROOT_USER&secretKey=$MINIO_ROOT_PASSWORD"; H="${HOST_ADDRESS#https://}"; H="${H%/}"; PUB="https://$H"; w(){ until (exec 3<>"/dev/tcp/$1.$R/$2") 2>/dev/null; do sleep 2; done; }; echo "[huly] public address: $H"; w cockroach 26257; w redpanda 9092; w minio 9000; export SERVER_SECRET="$SECRET"; export DB_URL="$DB"; export STORAGE_CONFIG="$ST"; export STATS_URL="http://stats.$R:4900"; export ACCOUNTS_URL="http://account.$R:3000"; export QUEUE_CONFIG="redpanda.$R:9092"; export SERVER_PORT="3333"; export FRONT_URL="$PUB"; export FULLTEXT_URL="http://fulltext.$R:4700"; export LAST_NAME_FIRST="true"; cd /usr/src/app; exec node ./bundle.js'`

### account

- **Image:** hardcoreeng/account:v0.7.426@sha256:a77b42617b7c88e886458966c0001952c22f882feb44f78e9f6f8d89d7e73c1c
- **Start command:** `/bin/bash -c 'R=railway.internal; DB="postgres://selfhost:$CR_PASSWORD@cockroach.$R:26257/defaultdb"; ST="minio|minio.$R?accessKey=$MINIO_ROOT_USER&secretKey=$MINIO_ROOT_PASSWORD"; H="${HOST_ADDRESS#https://}"; H="${H%/}"; PUB="https://$H"; w(){ until (exec 3<>"/dev/tcp/$1.$R/$2") 2>/dev/null; do sleep 2; done; }; echo "[huly] public address: $H"; w cockroach 26257; w redpanda 9092; w minio 9000; export SERVER_SECRET="$SECRET"; export DB_URL="$DB"; export STORAGE_CONFIG="$ST"; export QUEUE_CONFIG="redpanda.$R:9092"; export SERVER_PORT="3000"; export ACCOUNT_PORT="3000"; export TRANSACTOR_URL="ws://transactor.$R:3333;wss://$H/_transactor"; export FRONT_URL="$PUB"; export MODEL_ENABLED="*"; export DISABLE_SIGNUP="true"; export STATS_URL="$PUB/_stats"; export ACCOUNTS_URL="$PUB/_accounts"; cd /usr/src/app; exec node bundle.js'`

### collaborator

- **Image:** hardcoreeng/collaborator:v0.7.426@sha256:2747295c2cf5de05d6ea8ec90173891f28ede3064d45354a8069ebfe769f279f
- **Start command:** `/bin/bash -c 'R=railway.internal; DB="postgres://selfhost:$CR_PASSWORD@cockroach.$R:26257/defaultdb"; ST="minio|minio.$R?accessKey=$MINIO_ROOT_USER&secretKey=$MINIO_ROOT_PASSWORD"; H="${HOST_ADDRESS#https://}"; H="${H%/}"; PUB="https://$H"; w(){ until (exec 3<>"/dev/tcp/$1.$R/$2") 2>/dev/null; do sleep 2; done; }; echo "[huly] public address: $H"; w cockroach 26257; w redpanda 9092; w minio 9000; export COLLABORATOR_PORT="3078"; export SECRET="$SECRET"; export ACCOUNTS_URL="http://account.$R:3000"; export STATS_URL="http://stats.$R:4900"; export STORAGE_CONFIG="$ST"; cd /usr/src/app; exec node bundle.js'`

### gateway

- **Image:** ghcr.io/bon5co/huly-railway-gateway:0.7.426@sha256:20049f9945b6eeb8c58435b07680fa296df9ab228d502c746387cb1cee5aa90b
- **Health check:** /healthz
- **Public domain:** Yes

### kvs

- **Image:** hardcoreeng/hulykvs:v0.7.426@sha256:765ca15bb643e4f8d42dba9bc0bf0d0e668ee5ced8fb1c432abb142946b09d4f
- **Start command:** `/bin/bash -c 'R=railway.internal; DB="postgres://selfhost:$CR_PASSWORD@cockroach.$R:26257/defaultdb"; ST="minio|minio.$R?accessKey=$MINIO_ROOT_USER&secretKey=$MINIO_ROOT_PASSWORD"; H="${HOST_ADDRESS#https://}"; H="${H%/}"; PUB="https://$H"; w(){ until (exec 3<>"/dev/tcp/$1.$R/$2") 2>/dev/null; do sleep 2; done; }; echo "[huly] public address: $H"; w cockroach 26257; export HULY_DB_CONNECTION="$DB"; export HULY_TOKEN_SECRET="$SECRET"; export PORT="8094"; cd /; exec /usr/local/bin/hulykvs'`

### fulltext

- **Image:** hardcoreeng/fulltext:v0.7.426@sha256:e8670c41aab79b0e4e15230aad61e2e7e886e57cc83796e92ecb3c4d1f99209a
- **Start command:** `/bin/bash -c 'R=railway.internal; DB="postgres://selfhost:$CR_PASSWORD@cockroach.$R:26257/defaultdb"; ST="minio|minio.$R?accessKey=$MINIO_ROOT_USER&secretKey=$MINIO_ROOT_PASSWORD"; H="${HOST_ADDRESS#https://}"; H="${H%/}"; PUB="https://$H"; w(){ until (exec 3<>"/dev/tcp/$1.$R/$2") 2>/dev/null; do sleep 2; done; }; echo "[huly] public address: $H"; w cockroach 26257; w redpanda 9092; w minio 9000; w elastic 9200; export SERVER_SECRET="$SECRET"; export DB_URL="$DB"; export STORAGE_CONFIG="$ST"; export STATS_URL="http://stats.$R:4900"; export ACCOUNTS_URL="http://account.$R:3000"; export QUEUE_CONFIG="redpanda.$R:9092"; export FULLTEXT_DB_URL="http://elastic.$R:9200"; export ELASTIC_INDEX_NAME="huly_storage_index"; export REKONI_URL="http://rekoni.$R:4004"; cd /usr/src/app; exec node --expose-gc bundle.js'`

### redpanda

- **Image:** redpandadata/redpanda:v24.3.6@sha256:04baa40ed34edf86028396f762be802f3b6b0acaab65e9de696a3f15d54c550f
- **Start command:** `/bin/sh -c 'mkdir -p /var/lib/redpanda/data; chown -R 101:101 /var/lib/redpanda; echo "[huly] redpanda uid=$(id -u) data_owner=$(stat -c %u:%g /var/lib/redpanda/data)"; exec setpriv --reuid=101 --regid=101 --clear-groups env HOME=/var/lib/redpanda rpk redpanda start --check=false --smp 1 --memory 1024M --reserve-memory 0M --overprovisioned --node-id 0 --kafka-addr internal://0.0.0.0:9092 --advertise-kafka-addr internal://redpanda.railway.internal:9092 --set redpanda.auto_create_topics_enabled=true'`

### elastic

- **Image:** ghcr.io/bon5co/huly-railway-elastic:0.7.426@sha256:c4a31938ae3c180ce70b9496ad849ec5222a4c68e439597e2e96437242afeb84

## Documentation

# Deploy and Host Huly on Railway

**Built for an LLM agent to deploy and use.** The deploy form has no fields to fill: the admin login, the signing key, the database password and the file-store keys are generated, the administrator and the first workspace are created at first boot, public sign-up is closed, and the file store refuses every write without a token. Huly is an open-source project management platform with issues, sprints, documents, team chat and a calendar, the self-hosted alternative to Linear, Jira, Notion and Slack.

## About Hosting Huly

This template runs fourteen services: **gateway**, the public nginx entry point on port 8080 with a healthcheck at `/healthz`, which also creates the administrator and the first workspace and owns the generated secrets; the Huly services **front** (web client), **account**, **transactor**, **collaborator**, **workspace**, **fulltext**, **rekoni**, **stats** and **kvs**, version 0.7.426; and the infrastructure **cockroach** (CockroachDB, volume at `/cockroach/cockroach-data`), **redpanda** (Kafka-compatible queue, volume at `/var/lib/redpanda`), **minio** (S3-compatible file store, volume at `/data`) and **elastic** (Elasticsearch 7.14 for search, volume at `/usr/share/elasticsearch/data`). The gateway and elastic run from thin wrapper images; every image is pinned by tag and digest.

**What the wrapper fixes.** Upstream's compose stack puts fourteen containers behind one nginx on a shared network. On Railway every service starts at once, so each one waits for the peers it needs and restarts on failure until they answer, and the public gateway answers `/healthz` by itself so the deploy is green while the rest comes up. The first administrator and the workspace `main` are created from variables with Huly's own tool, and sign-up stays closed. CockroachDB's image keeps its certificates outside the data volume, so a plain redeploy finds data and no certificates and refuses to start; the start command makes the certificates again on each boot and keeps the database user in step with the password variable. Redeploys keep the secrets, the database, the files and the search index.

**Using it.** Open the `gateway` domain and sign in with `ADMIN_EMAIL` and `ADMIN_PASSWORD` from the `gateway` service; the workspace is called `main`. An agent posts the same two values to `/_accounts/` with the JSON method `login`, then calls `selectWorkspace` with the workspace URL `main` to get the workspace token. The first boot takes a few minutes while the database and the queue start; the gateway answers `/healthz` meanwhile. Email sending is off. This stack needs about 4 GB of memory across its services.

**License.** Huly is under the EPL-2.0; the wrapper images only package it.

### Agent contract

- Public URL: `https://` plus the `RAILWAY_PUBLIC_DOMAIN` variable of the `gateway` service (web client, `/_accounts/` API and `/files`)
- Private URL: `http://gateway.railway.internal:8080`
- Credentials: the variables `ADMIN_EMAIL` and `ADMIN_PASSWORD` on the `gateway` service
- Auth: `POST /_accounts/` with a JSON body `method` login and `params` email and password returns an account `token`; `selectWorkspace` with `workspaceUrl` main and `kind` external returns the workspace `token`; send it as `Authorization: Bearer` plus the token; `POST /files` answers 403 without it and 401 with a wrong one
- Health: `GET /healthz` returns 200 without credentials; `GET /` returns 200 once the web client is running

```bash
#!/bin/sh
# needs: RAILWAY_PUBLIC_DOMAIN, ADMIN_EMAIL, ADMIN_PASSWORD (variables of the gateway service); also curl.
R="https://$RAILWAY_PUBLIC_DOMAIN"; A="$R/_accounts/"; J="content-type: application/json"
n=0; until [ "$(curl -s -o /dev/null -w '%{http_code}' "$R/healthz")" = 200 ]; do n=$((n+1)); [ "$n" -le 180 ] || break; sleep 5; done
# the web client answers only once the front service is up
n=0; until [ "$(curl -s -o /dev/null -w '%{http_code}' "$R/")" = 200 ]; do n=$((n+1)); [ "$n" -le 180 ] || break; sleep 5; done
curl -s -o /dev/null -w "health: %{http_code}\n" "$R/"
# public sign-up is closed: the sign-up method does not exist
curl -s -o /dev/null -w "public signup: %{http_code}\n" -H "$J" -d '{"method":"signUp","params":{"email":"stranger@example.com","password":"Not-the-real-one-12345","firstName":"Stranger","lastName":"Visitor"}}' "$A"
# the generated password is the admin account: login returns an account token (the first boot creates the account and the workspace)
n=0; TOKEN=""
until [ -n "$TOKEN" ]; do
  TOKEN=$(curl -s -H "$J" -d "{\"method\":\"login\",\"params\":{\"email\":\"$ADMIN_EMAIL\",\"password\":\"$ADMIN_PASSWORD\"}}" "$A" | sed -n 's/.*"token":"\([^"]*\)".*/\1/p')
  [ -n "$TOKEN" ] || { n=$((n+1)); [ "$n" -le 120 ] || break; sleep 5; }
done
if [ -n "$TOKEN" ]; then echo "login: 200"; else echo "login: failed"; fi
# the first workspace is called main; selecting it returns the workspace token that the file store accepts
n=0; WT=""
until [ -n "$WT" ]; do
  WT=$(curl -s -H "$J" -H "Authorization: Bearer $TOKEN" -d '{"method":"selectWorkspace","params":{"workspaceUrl":"main","kind":"external"}}' "$A" | sed -n 's/.*"token":"\([^"]*\)".*/\1/p')
  [ -n "$WT" ] || { n=$((n+1)); [ "$n" -le 60 ] || break; sleep 5; }
done
# write-auth: POST /files stores a file in the workspace; without a token the answer is 403, with a wrong one 401
printf hello | curl -s -o /dev/null -w "write with key: %{http_code}\n" -H "Authorization: Bearer $WT" -F 'file=@-;filename=contract.txt' "$R/files"
printf hello | curl -s -o /dev/null -w "write without key: %{http_code}\n" -F 'file=@-;filename=contract.txt' "$R/files"
printf hello | curl -s -o /dev/null -w "write wrong key: %{http_code}\n" -H "Authorization: Bearer not-a-real-token" -F 'file=@-;filename=contract.txt' "$R/files"
```

Expected output against a fresh deploy:

```text
health: 200
public signup: 404
login: 200
write with key: 200
write without key: 403
write wrong key: 401
```

The refusals are the contract: a request without a token is refused (`write without key: 403`), a wrong token is refused (`write wrong key: 401`) and a stranger cannot register (`public signup: 404`, the sign-up method does not exist).

## Why Deploy Huly on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Huly on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.

- **Agent-ready** - no deployer fields, a contract block, and one script that proves the web client is up, strangers cannot register, the generated password is the admin and the file store refuses writes without a token.
- **Fourteen services wired for you** - the database, the queue, the file store, search and the nine application services reference each other, no manual URLs.
- **Data survives redeploys** - each stateful service has a volume, and the generated secrets stay the same.
- **First workspace ready** - the administrator and a workspace named main exist at first boot, so nobody has to open a sign-up page.
- **Pinned** - Huly and the infrastructure images are pinned by tag and digest, and so are the wrapper images.

## Common Use Cases

- **Linear alternative for a small team** - issues, projects, sprints and a roadmap in your own database, with no per-seat fee.
- **Jira or Notion alternative** - tracker, documents and a wiki in one workspace.
- **Slack alternative for a project team** - chat channels and a calendar beside the issues they discuss.
- **Project backlog for an AI agent** - give an agent the admin login to create and read work through the account API and the file store.

## Dependencies for Huly Hosting

- Fourteen services (gateway, front, account, transactor, collaborator, workspace, fulltext, rekoni, stats, kvs, cockroach, redpanda, minio, elastic), each stateful one with a volume, created by the template.

### Deployment Dependencies

- [Huly platform on GitHub](https://github.com/hcengineering/platform)
- [Huly self-hosting repository](https://github.com/hcengineering/huly-selfhost)
- [Huly documentation](https://docs.huly.io/)
- [Wrapper image source](https://github.com/bon5co/huly-railway)


## Similar templates

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — Self-hosted virtual tabletop for role-playing games (license required)
- [Double Commander in your browser](https://railway.com/deploy/double-commander-in-your-browser) — The Double Commander file manager in the cloud, from any device

Open this page in a browser: https://railway.com/deploy/huly-or-just-updated-linear-and-jira-alt
