---
title: "Deploy lakeFS"
description: "A lakeFS server for git-like object versioning"
category: "Storage"
url: https://railway.com/deploy/lakefs
---

# Deploy lakeFS

A lakeFS server for git-like object versioning

**[Deploy lakeFS on Railway](https://railway.com/template/lakefs)**

- **Creator:** Penelope Health
- **Category:** Storage
- **Total deploys:** 8

## Template content

### lakeFS https://avatars.githubusercontent.com/u/58909255?v=4

- **Image:** treeverse/lakefs:1.76.0
- **Health check:** /health
- **Public domain:** Yes

### postgres https://devicons.railway.app/postgres

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:16

## Buckets

- **lakefs-storage**

## Documentation

# Deploy and Host lakeFS on Railway

lakeFS is an open-source data version control system that provides Git-like branching and versioning for object storage. It enables data teams to safely experiment with data, create reproducible analyses, and maintain data quality through isolated branches and commits.

## About Hosting lakeFS

Railway provides an ideal environment for hosting lakeFS with its integrated PostgreSQL databases and S3-compatible bucket storage. The platform handles SSL termination, persistent volumes, and private networking between services automatically. This template deploys a production-ready lakeFS instance backed by PostgreSQL for metadata storage and Railway’s bucket service for object data.

## Common Use Cases

- Version control for data lakes and ML training datasets
- Safe data experimentation with isolated branches
- Reproducible data pipelines and analytics
- Staging environments for ETL changes before production
- Multi-team collaboration with branch-based workflows

## Dependencies for lakeFS Hosting

- **lakeFS** — Data version control server with web UI and S3 gateway
- **PostgreSQL** — Stores lakeFS metadata (repositories, commits, branches)
- **Railway Bucket** — S3-compatible object storage for data files

### Deployment Dependencies

- lakeFS documentation can be found at https://docs.lakefs.io/latest/
- lakeFS deployment instructions can be found at https://docs.lakefs.io/latest/howto/deploy/onprem/

### Implementation Details 

lakeFS exposes port 8000 and includes a web UI for repository management. After deployment, visit the `/setup` endpoint to create your initial admin user.

```bash
# Example: Using lakectl CLI after setup
export LAKEFS_ENDPOINT=https://your-domain.up.railway.app
lakectl repo create lakefs://my-repo
```

## Why Deploy lakeFS on Railway?

lakeFS enterprise for startups starts at ~$20k/year but the core is open source with Apache 2.0 License. This comes out much much cheaper.


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 lakeFS 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

- [Garage S3 Storage](https://railway.com/deploy/garage-s3-storage) — Ultra-light S3 server: fast, open-source, plug-and-play.
- [Redis](https://railway.com/deploy/redis-1) — Self Host Latest Redis with Railway
- [EasyImg](https://railway.com/deploy/easyimg) — Simple self-hostable Nuxt.js personal image hosting system.

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