---
title: "Deploy NocoDB with PostgreSQL, Redis & Files"
description: "No-code tables, forms and APIs with Postgres, Redis and durable files."
category: "Automation"
url: https://railway.com/deploy/nocodb-with-postgresql-redis-and-files
---

# Deploy NocoDB with PostgreSQL, Redis & Files

No-code tables, forms and APIs with Postgres, Redis and durable files.

**[Deploy NocoDB with PostgreSQL, Redis & Files on Railway](https://railway.com/template/nocodb-with-postgresql-redis-and-files)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/nocodb-with-postgresql-redis-and-files/manifest.json

- **Creator:** dankeewithtwoes's Projects
- **Category:** Automation

## Template content

### Redis

- **Image:** redis@sha256:3811787313eba226a2ef38658c6ccb91cd5e110edc89c37767de373120a0e5a0
- **Start command:** `/bin/sh -c 'exec docker-entrypoint.sh redis-server --requirepass "$REDIS_PASSWORD" --appendonly yes --save 60 1 --maxmemory-policy noeviction --bind 0.0.0.0 :: --dir /data'`

### NocoDB

- **Image:** nocodb/nocodb@sha256:27d2fd14670db892ac721849d4f071edce47e386a1e74c921a0162644b9c213d
- **Health check:** /api/v1/health
- **Public domain:** Yes

### Postgres

- **Image:** postgres@sha256:ca0bd484cb98bf4b24eb1010e73fb3fcbd6714d240fbc1a10eea5b7dbecb641d

## Documentation

# Deploy and Host NocoDB with PostgreSQL, Redis & Files on Railway

No-code tables, forms and APIs with Postgres, Redis and durable files.

## About Hosting NocoDB with PostgreSQL, Redis & Files

Deploying this template creates Postgres, Redis, NocoDB in your Railway project. The application receives an HTTPS domain automatically. Database and Redis services, when included, use private networking and generated credentials. Persistent data is stored on the included volumes or object storage, so application redeploys do not discard it.

## Why Deploy NocoDB with PostgreSQL, Redis & Files on Railway

- Official NocoDB app with a private PostgreSQL database.
- Redis is authenticated and retains its data on a volume.
- Attachments survive application redeploys on /usr/app/data.
- Generated session signing key and automatic public URL.

## Common Use Cases

- Build an internal inventory, client list or operations tracker.
- Collect structured submissions with forms.
- Expose spreadsheet-style data through an API.

## Dependencies for NocoDB with PostgreSQL, Redis & Files

- A Railway account and a plan with capacity for 3 service(s).
- Included services: Postgres, Redis, NocoDB.
- 3 persistent volume(s), provisioned by this template.
- External integrations, mail delivery and your own business data are configured after installation as needed.

## First launch

1. Deploy the three services and wait for NocoDB to become healthy.
2. Open its generated domain and create the first administrator through the signup screen.
3. Create a base, import a spreadsheet, or connect an external database.
4. Configure SMTP if you need invitation and password-reset emails.

## Operations

Back up PostgreSQL and the NocoDB file volume together. Redis stores cache/queue state and should remain private. Keep NC_AUTH_JWT_SECRET. If you change domains, update NC_SITE_URL and NC_PUBLIC_URL. This template includes the upstream self-hosted edition; paid vendor features and external databases are configured separately.

Images are pinned to verified upstream image digests captured on 2026-10-17. Review upstream release notes, back up persistent data and update the image deliberately when upgrading. Railway charges the deployer for running services, storage and network usage.

## Support and upstream

For Railway template wiring or deployment issues, use the discussion/support link on this template page. Include service names and redacted logs; omit passwords and tokens. Application documentation:

[Environment variables](https://nocodb.com/docs/self-hosting/environment-variables) · [NocoDB source](https://github.com/nocodb/nocodb)


## 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/nocodb-with-postgresql-redis-and-files
