
Deploy Minecraft Fabric Server for mods
Fabric modded Minecraft Java server with Modrinth mod downloads
Minecraft Fabric Server
Just deployed
/data
Deploy and Host Minecraft Fabric Server for mods on Railway
Run your own Fabric modded Minecraft Java server on Railway and play with friends from the normal Minecraft Java Edition multiplayer menu. The world, configs and mods are kept on a volume, the server saves the world before every restart, and you choose the Minecraft version, memory, operators and whitelist from the service Variables.
About Hosting Minecraft Fabric Server for mods
The template runs the open source itzg/minecraft-server:latest image (https://github.com/itzg/docker-minecraft-server) as one Railway service. The Minecraft server listens on port 25565, and Railway's TCP proxy gives it a public address that players connect to. A volume is mounted at /data for the world and all server files, so nothing is lost on restarts and redeploys, and the server gets time to save before Railway stops it.
Common Use Cases
- A modded server for friends with Fabric mods from Modrinth
- A lightweight, fast server with performance mods such as Lithium
- Trying new Fabric mods together without hosting on your own PC
Dependencies for Minecraft Fabric Server for mods Hosting
- No other services: one container plus a volume
- Minecraft on PC, using the multiplayer or join by IP menu
- A Railway plan with enough memory: 2 GB or more is recommended
Implementation Details
Before the first start, set EULA to TRUE to accept the Minecraft EULA. After the deploy finishes, open the service, go to Settings, Networking and copy the TCP proxy address, for example something.proxy.rlwy.net:12345. In Minecraft, add a server with that address and port and join. The first start downloads the server and creates the world, which takes a minute or two; follow it in the deploy logs.
List Modrinth mods in MODRINTH_PROJECTS and they are downloaded for your Minecraft version on every start, or put mod jars into /data/mods. Fabric API and Lithium are preinstalled by default. Players need the same mods on their client.
The Java heap is sized automatically from the service memory, so the server fits any plan. For more players or heavy modpacks, give the service more memory (2 GB or more); set MEMORY only if you want a fixed heap.
Why Deploy Minecraft Fabric Server for mods 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 Minecraft Fabric Server for mods 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
Minecraft Fabric Server
itzg/minecraft-server:latestEULA
Type TRUE to accept the Minecraft EULA (https://aka.ms/MinecraftEULA). The server does not start until you do.
