Configuration Examples
Annotated Gordon configuration examples for common scenarios.
Examples
- Minimal Configuration - Simplest working setup
- Production Configuration - Full production setup
- Development Configuration - Local development setup
Quick Reference
Minimal
[server]
gordon_domain = "gordon.local"
[routes]
"app.local" = "myapp:latest"
Development
[server]
port = 8080
gordon_domain = "gordon.local"
[registry_auth]
enabled = false
[auto_route]
enabled = true
[routes]
"app.local" = "myapp:latest"
Production
[server]
port = 8080
gordon_domain = "gordon.company.com"
[secrets]
backend = "pass"
[registry_auth]
enabled = true
type = "token"
token_secret = "gordon/registry/token_secret"
[network_isolation]
enabled = true
[routes]
"app.company.com" = "company-app:v2.1.0"
[attachments]
"app.company.com" = ["postgres:latest", "redis:latest"]