Skip to main content
Docker Compose makes it easy to deploy Gate alongside backend Minecraft servers in a multi-container setup.

Basic Setup

Here’s a complete example that deploys Gate with two backend Minecraft servers:

docker-compose.yml

config.yml

Starting the Stack

Bridge Network Setup

For better isolation, use a custom bridge network instead of host networking:

Corresponding config.yml

When using bridge networking, backend servers are accessible by their service names (e.g., lobby:25565).

Production Setup with Velocity Forwarding

For production environments, use Velocity modern forwarding for better security:

.env File

Create a .env file in the same directory:

config.yml for Velocity Forwarding

Multi-Container Setup with Different Server Types

Setup with Persistent Storage

Use named volumes for better data management:

Gate Lite Mode with Docker Compose

For lightweight reverse proxy deployments:

config.yml for Lite Mode

Common Commands

Monitoring and Debugging

Next Steps

Configuration

Advanced Docker configuration and networking

Production Guide

Best practices for production deployments