---
title: "Deploy bytebase"
description: "Database governance built for humans and agents"
category: "Observability"
url: https://railway.com/deploy/bytebase-1
---

# Deploy bytebase

Database governance built for humans and agents

**[Deploy bytebase on Railway](https://railway.com/template/bytebase-1)**

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

- **Creator:** kmaki's Projects
- **Category:** Observability

## Template content

### bytebase

- **Image:** bytebase/bytebase:3.22.0
- **Public domain:** Yes

## Documentation

# Deploy and Host Bytebase on Railway

Bytebase is an open-source database governance platform that unifies schema change, data access, security, and audit workflows. It gives engineering teams a browser-based control plane for managing diverse databases, reviewing changes, enforcing policy, querying data safely, and maintaining a complete operational history from one dependable workspace.

## About Hosting Bytebase on Railway
Railway runs the official pinned Bytebase container as a single web service, provides HTTPS routing, and persists the embedded metadata database on a managed volume.

## Tech Stack
- Go backend and embedded web server
- React web interface
- Embedded PostgreSQL metadata database
- Official Bytebase Docker image

## Why Deploy Bytebase on Railway
Railway provides a fast one-click deployment, automatic HTTPS, simple environment configuration, observable container logs, and durable volume storage without requiring users to operate a separate application platform.

## Common Use Cases
- Govern database schema changes through reviewed workflows
- Centralize database access and SQL operations
- Enforce approval, security, and compliance policies
- Audit database activity across environments
- Support GitOps and database-as-code workflows

## Deployment Notes
The service listens on port 8080 and stores persistent metadata in /var/opt/bytebase. On first visit, use the setup wizard to create the workspace administrator; Bytebase does not support environment variables for pre-seeding that username or password. Keep the volume attached, and do not override the official image command.

## Dependencies for Bytebase on Railway
Bytebase is self-contained for this template. Its application server, web UI, and embedded PostgreSQL metadata store run inside the official image; Railway supplies HTTPS routing and persistent storage.

### Deployment Dependencies

| Service | Image | Port | Volume |
|---------|-------|------|--------|
| bytebase | bytebase/bytebase:3.22.0 | 8080 | /var/opt/bytebase |

## Similar templates

- [Pyroscope profiling](https://railway.com/deploy/pyroscope-profiling) — Protected continuous profiling with durable Pyroscope storage.
- [SigOnly](https://railway.com/deploy/sigonly) — Deploy SigNoz with a working demo app & config in one click
- [Unwrapped Spotify Music Stats](https://railway.com/deploy/wide-bold) — Unwrapped Spotify Music Stats, Estatísticas de músicas disponíveis

Open this page in a browser: https://railway.com/deploy/bytebase-1
