---
title: "Deploy Graylog"
description: "Free and open log management"
category: "Observability"
url: https://railway.com/deploy/_GawOC
---

# Deploy Graylog

Free and open log management

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

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

- **Creator:** Ntokozo's Projects
- **Category:** Observability
- **Total deploys:** 42

## Template content

### graylog

- **Image:** graylog/graylog:5.2
- **Public domain:** Yes

### opensearch

- **Image:** opensearchproject/opensearch:2

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

- **Image:** mongo
- **Start command:** `docker-entrypoint.sh mongod --ipv6 --bind_ip ::,0.0.0.0`

## Documentation

## Overview
This template is based on the official Graylog [docker guide](https://go2docs.graylog.org/5-2/downloading_and_installing_graylog/docker_installation.htm). It sets up a Graylog instance with a single Opensearch node, backed by a MongoDB database.

## Configuration
Only two environment variables need to be set: `GRAYLOG_ROOT_PASSWORD_SHA2` on the `graylog` service, and  `OPENSEARCH_INITIAL_ADMIN_PASSWORD` on the `opensearch` service (otherwise the default is set to `admin` for both)

## Deploy
No further configuration is required, simply deploy the template and you're good to go

## Similar templates

- [Rootprint](https://railway.com/deploy/rootprint-1) — Open-source logs and traces with full-text search on object-storage.
- [Pyroscope profiling](https://railway.com/deploy/pyroscope-profiling) — Protected continuous profiling with durable Pyroscope storage.
- [SigOnly](https://railway.com/deploy/sigonly) — Deploy SigNoz with a working demo app & config in one click

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