# ===========================================
# Server Configuration (docker-compose.yml)
# ===========================================

# Domain for tunnel service
DOMAIN=tunnel.example.com

# Authentication token
AUTH_TOKEN=your-secret-token-here

# Server port
PORT=8080

# Timezone
TZ=UTC

# TLS Configuration (choose one)
# Option 1: Auto TLS with Let's Encrypt
# AUTO_TLS=1

# Option 2: Manual certificates (place in ./certs/)
# TLS_CERT=1
# TLS_KEY=1

# Build version
VERSION=latest
# GIT_COMMIT=

# ===========================================
# Client Configuration (docker-compose.client.yml)
# ===========================================

# Server address
SERVER_ADDR=tunnel.example.com:443

# Tunnel type: http, https, or tcp
TUNNEL_TYPE=http

# Local port to expose
LOCAL_PORT=3000

# Local address (default: 127.0.0.1)
# LOCAL_ADDRESS=192.168.1.100

# Custom subdomain (optional)
# SUBDOMAIN=myapp

# Run as daemon
# DAEMON=1
