---
title: "Deploy squidex"
description: "Squidex 7.23: headless CMS with REST and GraphQL APIs, on MongoDB."
category: "CMS"
url: https://railway.com/deploy/squidex
---

# Deploy squidex

Squidex 7.23: headless CMS with REST and GraphQL APIs, on MongoDB.

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

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

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

## Template content

### MongoDB https://devicons.railway.app/i/mongodb.svg

- **Image:** mongo:8.0
- **Start command:** `docker-entrypoint.sh mongod --ipv6 --bind_ip ::,0.0.0.0 --setParameter diagnosticDataCollectionEnabled=false`

### squidex https://raw.githubusercontent.com/Squidex/squidex/7.23.0/backend/src/Squidex/wwwroot/images/logo-squared-120.png

- **Image:** squidex/squidex:7.23.0
- **Start command:** `sh -c 'export IDENTITY__GOOGLECLIENT= IDENTITY__GITHUBCLIENT= IDENTITY__MICROSOFTCLIENT=; exec dotnet Squidex.dll'`
- **Health check:** /healthz
- **Public domain:** Yes

## Documentation

# Deploy and Host Squidex on Railway

Squidex is an open-source headless CMS. You design content schemas in a web editor, your team writes and publishes content, and apps read it through generated REST and GraphQL APIs. It supports workflows, localization, versioning, assets and webhooks, and fits websites, mobile apps and any project that needs structured content.

## About Hosting Squidex

This template runs the official `squidex/squidex:7.23.0` image with a Railway MongoDB database. The admin user is created on first boot from the variables, and a client-credentials admin client is created for automation. Squidex ships demo Google, GitHub and Microsoft login credentials in its defaults; the start command clears them, so only password login appears and strangers cannot sign up through those buttons. New users are locked until an admin unlocks them. Assets are stored on a Railway volume and everything else in MongoDB, so all of it survives redeploys. Squidex needs about 600 MB of memory.

## Common Use Cases

- Content backend for a website, mobile app or static site generator
- Structured, localized content edited by non-developers
- A shared content API for several frontends

## Dependencies for Squidex Hosting

- `squidex/squidex:7.23.0` (official image)
- Railway MongoDB
- A Railway volume at `/app/Assets`

### Deployment Dependencies

- [Squidex documentation](https://docs.squidex.io)
- [Squidex on GitHub](https://github.com/Squidex/squidex)
- [Squidex 7.23.0 release](https://github.com/Squidex/squidex/releases/tag/7.23.0)

### Implementation Details

| Service | Source | Networking | Storage |
| --- | --- | --- | --- |
| squidex | `squidex/squidex:7.23.0` | public domain on 80 | volume at `/app/Assets` |
| MongoDB | Railway MongoDB | private | Railway volume |

| Variable | Default | Purpose |
| --- | --- | --- |
| `IDENTITY__ADMINEMAIL` | `admin@example.com` | Admin user |
| `IDENTITY__ADMINPASSWORD` | generated | Its password |
| `IDENTITY__ADMINCLIENTID` / `SECRET` | `railway-admin` / generated | Admin API client (client credentials) |
| `IDENTITY__LOCKAUTOMATICALLY` | `true` | New users stay locked until approved |
| `URLS__BASEURL` | `https://${{RAILWAY_PUBLIC_DOMAIN}}` | Public URL |

Notes:

- Get an API token: `POST /identity-server/connect/token` with `grant_type=client_credentials`, the admin client ID and secret, and `scope=squidex-api`.
- The admin password must contain upper and lower case letters, a digit and a symbol, which is why the generated one starts with `Sq1!`.

This is a community-maintained deployment package and does not imply affiliation with or endorsement by Squidex UG.

## Why Deploy Squidex 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 Squidex 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

- [Libredesk - Complete Setup](https://railway.com/deploy/libredesk-complete-setup) — Complete self-hosted omnichannel customer support desk.
- [Paperless-ngx](https://railway.com/deploy/paperless-ngx-3) — Paperless-ngx — document management with OCR and full-text search
- [Instatic CMS - Postgres](https://railway.com/deploy/instatic-cms-postgres) — Design, build and manage powerful static sites from state-of-the-art CMS

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