Deploy Huly | (Just Updated) Linear and Jira Alternative, Project Management, Sign-up Closed
Huly project management, Linear and Jira alternative, issues and docs
Just deployed
minio
Just deployed
/data
workspace
Just deployed
Just deployed
Just deployed
cockroach
Just deployed
/cockroach/cockroach-data
transactor
Just deployed
account
Just deployed
collaborator
Just deployed
Just deployed
Just deployed
fulltext
Just deployed
redpanda
Just deployed
/var/lib/redpanda
Just deployed
/usr/share/elasticsearch/data
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 theRAILWAY_PUBLIC_DOMAINvariable of thegatewayservice (web client,/_accounts/API and/files) - Private URL:
http://gateway.railway.internal:8080 - Credentials: the variables
ADMIN_EMAILandADMIN_PASSWORDon thegatewayservice - Auth:
POST /_accounts/with a JSON bodymethodlogin andparamsemail and password returns an accounttoken;selectWorkspacewithworkspaceUrlmain andkindexternal returns the workspacetoken; send it asAuthorization: Bearerplus the token;POST /filesanswers 403 without it and 401 with a wrong one - Health:
GET /healthzreturns 200 without credentials;GET /returns 200 once the web client is running
#!/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:
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
Template Content
minio
pgsty/siloworkspace
hardcoreeng/workspace:v0.7.426cockroach
cockroachdb/cockroach:latest-v24.2transactor
hardcoreeng/transactor:v0.7.426account
hardcoreeng/account:v0.7.426collaborator
hardcoreeng/collaborator:v0.7.426fulltext
hardcoreeng/fulltext:v0.7.426redpanda
redpandadata/redpanda:v24.3.6