---
title: "Deploy MinIO - Single Service"
description: "[Jul'26] Lightweight MinIO with console & S3 API in one service."
category: "Storage"
url: https://railway.com/deploy/minio-single-service
---

# Deploy MinIO - Single Service

[Jul'26] Lightweight MinIO with console & S3 API in one service.

**[Deploy MinIO - Single Service on Railway](https://railway.com/template/minio-single-service)**

- **Creator:** codestorm
- **Category:** Storage
- **Total deploys:** 12

## Template content

### MinIO https://devicons.railway.app/MINIO

- **Image:** minio/minio
- **Start command:** `minio server /data --address :9001 --console-address :9000`
- **Public domain:** Yes

## Documentation

# Deploy and Host MinIO — Single Service on Railway

### About Hosting MinIO — Single Service

MinIO is an open-source, high-performance, S3-compatible object storage system designed for cloud-native workloads.

This **Single Service** template deploys MinIO as one service on Railway, exposing both the S3 API and Web Console through a single public domain. It is ideal for development, internal tooling, and lightweight production use cases where simplicity is preferred over strict separation.

You can control security-sensitive settings such as STS token duration and persist data using Railway volumes.

### Common Use Cases

* Object storage for web and backend applications
* Storage backend for AI/ML pipelines
* File storage for internal tools and automation
* S3-compatible replacement for development and testing
* Lightweight production workloads with minimal operational overhead

## Dependencies for MinIO — Single Service

### Deployment Dependencies

* Railway account
* Railway volume (for persistent data)
* MinIO Docker image (official)

No external services are required.

### Configuration

This template supports the following configurable options via Railway environment variables:

* **Root Credentials**
  Set `MINIO_ROOT_USER` and `MINIO_ROOT_PASSWORD` securely using Railway secrets.

* **STS Duration**
  Control temporary credential lifetime using `MINIO_STS_DURATION` (for example: `1h`, `12h`).

* **Public Access**
  The MinIO Console and S3 API are exposed through a single public domain managed by Railway.

* **Persistence**
  Data is stored on a Railway volume to survive restarts and redeployments.

### Why Deploy MinIO — Single Service on Railway?

* **Simple Architecture**
  One service, one domain, minimal configuration.

* **Fast Setup**
  Deploy and access MinIO in minutes.

* **S3 Compatible**
  Works with existing AWS S3 SDKs and tools without modification.

* **Secure by Default**
  Secrets managed by Railway, optional STS control.

* **Cost Efficient**
  Lower resource usage compared to multi-service deployments.

This template is best suited when you want MinIO up and running quickly without managing separate internal and external services.


## 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/minio-single-service
