Deploy Chirpstack RW

A Railway Wrapper for Chirpstack

Deploy Chirpstack RW

Postgres

railwayapp-templates/postgres-ssl:17

Just deployed

/var/lib/postgresql/data

Redis

redis:8.2.1

Just deployed

/data

chirpstack_railway_wrapper-jlvw

slyeco/chirpstack_railway_wrapper

Just deployed

chirpstack_railway_wrapper-sfwu

slyeco/chirpstack_railway_wrapper

Just deployed

chirpstack_railway_wrapper

slyeco/chirpstack_railway_wrapper

Just deployed

Deploy and Host ChirpStack RW on Railway

ChirpStack RW is a 1‑click Railway template that deploys the ChirpStack LoRaWAN Network Server with managed PostgreSQL and Redis, a Mosquitto MQTT broker, and optional extras (Gateway Bridge for Basic Station, InfluxDB + Grafana, RabbitMQ). It uses secure, env‑driven configuration, generates secrets automatically, and favors IPv6 private networking. Opinionated: no UDP; use Basic Station or MQTT forwarder.

About Hosting ChirpStack RW

This template separates core services for reliability and clarity: ChirpStack (app), managed PostgreSQL, managed Redis, and Mosquitto for MQTT. Gateways connect via Basic Station (WebSockets) through the Gateway Bridge or directly via MQTT forwarder (e.g., ChirpStack OS/concentratord); UDP packet forwarder is intentionally not supported. Optional add‑ons include InfluxDB + Grafana for visualization and RabbitMQ for outbound integrations. All config is driven by environment variables with safe defaults and generated secrets. Stateful services use volumes; expect brief downtime on redeploys. Choose a Railway region close to your gateways to minimize latency and egress.

Common Use Cases

  • Rapid prototyping and test labs for LoRaWAN devices
  • Small production deployments (100–1,000 devices) and pilots
  • Education and workshops (fast, safe classroom setup)

Dependencies for ChirpStack RW Hosting

  • Railway managed PostgreSQL (13+) and Redis (6.2+)
  • Mosquitto MQTT broker (container + persistent volume)
  • Gateways supporting Basic Station (WebSockets) or MQTT forwarder (ChirpStack OS/ concentratord)

Deployment Dependencies

Implementation Details

  • Gateway modes (opinionated):
    • Basic Station via Gateway Bridge over WebSockets (recommended on Railway)
    • MQTT forwarder directly to Mosquitto (disable Gateway Bridge)
  • Key toggles and variables:
    • ENABLE_GATEWAY_BRIDGE=true|false
    • BACKEND_KIND=basic_station
    • EXPOSE_MQTT_PUBLIC=false
    • ENABLE_VISUALIZATION_STACK=true|false (InfluxDB + Grafana)
    • ENABLE_RABBITMQ=true|false
    • CHIRPSTACK_VERSION / CHIRPSTACK_GWB_VERSION (pinned at build)
    • JWT_SECRET, MQTT_USERNAME, MQTT_PASSWORD generated by template
    • ADMIN_EMAIL (default [email protected]) and ADMIN_PASSWORD (random) for initial admin creation (not auto‑provisioned)
  • Health checks:
    • ChirpStack: HTTP /api/health on port 8080
    • Gateway Bridge: use TCP liveness on port 3001 (Basic Station backend does not expose HTTP health)
  • Notes: No UDP ingress on Railway; use Basic Station or MQTT forwarder. IPv6 private networking—bind to [::] and prefer private hostnames.

Why Deploy ChirpStack RW 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 ChirpStack RW 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.


Template Content

More templates in this category

View Template
Foundry Virtual Tabletop
A Self-Hosted & Modern Roleplaying Platform

View Template
(v1) Simple Medusa Backend
Deploy an ecommerce backend and admin using Medusa

View Template
peppermint
Docker-compose port for peppermint.sh