---
title: "Deploy OliveTin"
description: "Run predefined shell commands from a login-protected web UI"
category: "Automation"
url: https://railway.com/deploy/olivetin
---

# Deploy OliveTin

Run predefined shell commands from a login-protected web UI

**[Deploy OliveTin on Railway](https://railway.com/template/olivetin)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/olivetin/manifest.json

- **Creator:** Agaz Self-Host
- **Category:** Automation

## Template content

### OliveTin https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/olivetin.png

- **Source:** https://github.com/aalfath/olivetin-railway-template
- **Health check:** /readyz
- **Public domain:** Yes

## Documentation

# Deploy and Host OliveTin on Railway

OliveTin gives safe and simple access to predefined shell commands from a web interface. You define each command once in a YAML file, with optional typed arguments, and people you allow run it with a button instead of a terminal. It is open source (AGPL-3.0) and written in Go.

## About Hosting OliveTin

OliveTin is a single Go binary with a built-in web UI and API on one port, so hosting it means running one container, giving it a public URL, and keeping its config directory on persistent storage. This template builds the official OliveTin 3000.22.0 image from a GitHub repo, puts `/config` on a Railway volume (config.yaml, login sessions and saved action logs), and checks `/readyz` for health. Because a Railway URL is public, the first boot writes a config that requires login: an `admin` user whose password is generated at deploy time and hashed with argon2id at every start. Commands run inside the container as an unprivileged user.

## Common Use Cases

* Give teammates a button for routine jobs (call a deploy webhook, check a website, run a script) without shell access
* Run commands on other servers over SSH or HTTP APIs from one login-protected page
* Schedule commands with cron or trigger them from webhooks, and keep their output logs

## Dependencies for OliveTin Hosting

* The OliveTin container image (`ghcr.io/olivetin/olivetin`, pinned to 3000.22.0 by digest)
* A Railway volume mounted at `/config`

### Deployment Dependencies

* OliveTin on GitHub: https://github.com/OliveTin/OliveTin
* OliveTin documentation: https://docs.olivetin.app
* Release 3000.22.0: https://github.com/OliveTin/OliveTin/releases/tag/3000.22.0
* Template source and changelog: https://github.com/aalfath/olivetin-railway-template

### Implementation Details

After the deploy, open the public URL and log in as `admin` with the `OLIVETIN_ADMIN_PASSWORD` value from the service's Variables tab. To rotate it, change the variable and redeploy.

Your commands live in `/config/config.yaml`, which is written once and never overwritten by updates. OliveTin reloads it when it changes. Edit it from the *Settings* dashboard (**Show config.yaml**, then paste the whole new file into **Replace config.yaml**; it is syntax-checked, the old file is kept as `config.yaml.bak`, and configs without `authRequireGuestsToLogin: true` are refused) or with `railway ssh`. A minimal action:

```yaml
actions:
  - title: Call my deploy hook
    exec: [curl, -fsS, -X, POST, "https://YOUR-DOMAIN/deploy-hook"]
    onclick: execution-dialog
```

The image includes `bash`, `curl`, `jq`, `git`, `ssh`, `kubectl`, `apprise` and `python3`. Railway has no Docker socket, so OliveTin's container-control examples don't apply; use SSH or HTTP APIs instead. OAuth2, extra users and API keys are configured in the same file (see the OliveTin docs).

## Why Deploy OliveTin 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 OliveTin 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.



## Similar templates

- [N8N Main + Worker](https://railway.com/deploy/n8n-main-worker) — Deploy and Host N8N with Inactive worker.
- [Evolution API with n8n](https://railway.com/deploy/evolution-api-with-n8n) — Automate WhatsApp workflows with Evolution API, n8n, and Postgres.
- [Postgres Backup](https://railway.com/deploy/postgres-s3-backups) — Cron-based PostgreSQL backup to bucket storage

Open this page in a browser: https://railway.com/deploy/olivetin
