Skip to main content
Gate is a flexible Minecraft proxy that can be deployed in various environments, from simple Docker containers to complex Kubernetes clusters. This guide covers the available deployment options and architectural considerations.

Deployment Options

Gate supports multiple deployment methods to suit different infrastructure needs:

Docker Deployment

The simplest way to run Gate in production. Gate provides official Docker images with two variants:
  • Distroless variant (default): Minimal security-focused image based on Debian
  • JRE variant: Includes Java Runtime Environment for plugin support
Use cases:
  • Quick deployments and testing
  • Single-server setups
  • Development environments

Docker Compose

Ideal for multi-server networks with Gate as the frontend proxy.
docker-compose.yml
Use cases:
  • Local multi-server networks
  • Development and testing
  • Small to medium production deployments

Kubernetes

Production-grade orchestration for scalable and resilient deployments.
deploy.yaml
Use cases:
  • Large-scale production deployments
  • High availability requirements
  • Auto-scaling needs
  • Multi-region deployments

Bare Metal / VM

Direct installation on servers or virtual machines.
Use cases:
  • Existing infrastructure
  • Maximum performance requirements
  • Custom system integration

Architectural Patterns

Single Proxy Architecture

Simplest deployment with one Gate instance routing to multiple backend servers.
Pros:
  • Simple to configure and maintain
  • Low latency
  • Minimal resource overhead
Cons:
  • Single point of failure
  • Limited scalability

High Availability Architecture

Multiple Gate instances behind a load balancer for redundancy.
Pros:
  • No single point of failure
  • Horizontal scalability
  • Rolling updates possible
Cons:
  • More complex setup
  • Requires load balancer
  • Higher resource usage

Lite Mode Architecture

Gate Lite acts as a lightweight reverse proxy routing by virtual host.
Pros:
  • Minimal overhead
  • Host-based routing
  • Supports proxy-behind-proxy
Cons:
  • Limited features (no server switching)
  • Players can’t move between servers

Network Topology

Edge Deployment

Gate at network edge, directly exposed to internet:
Security considerations:
  • Enable rate limiting (quota settings)
  • Use strong forwarding secrets
  • Enable forceKeyAuthentication
  • Configure proper firewall rules

Behind Load Balancer

Gate behind TCP/Layer 4 load balancer:
Load balancer requirements:
  • TCP (Layer 4) load balancing
  • Support for proxy protocol v2
  • Session persistence (optional)
  • Health checks on port 9090

Resource Requirements

Minimum Requirements

  • CPU: 1 core
  • RAM: 512 MB
  • Network: 100 Mbps
  • Storage: 100 MB
Suitable for: Up to 100 concurrent players
  • CPU: 2-4 cores
  • RAM: 1-2 GB
  • Network: 1 Gbps
  • Storage: 1 GB
Suitable for: 500-1000 concurrent players

High Performance

  • CPU: 4-8 cores
  • RAM: 4-8 GB
  • Network: 10 Gbps
  • Storage: 5 GB
Suitable for: 1000+ concurrent players

Environment Variables

Gate supports configuration through environment variables:

Core Configuration

Observability

Java/Runtime Options

Configuration Management

ConfigMap (Kubernetes)

Docker Volume Mounts

File Watching

Gate automatically reloads configuration when the config file changes. To disable:

Next Steps

Production Checklist

Essential steps before going live

Monitoring

Set up health checks and metrics