Configuration Examples

Annotated Gordon configuration examples for common scenarios.

Examples

Quick Reference

Minimal

[server]
gordon_domain = "gordon.local"

[routes]
"app.local" = "myapp:latest"

Production

[server]
port = 8080
gordon_domain = "gordon.company.com"

[auth]
enabled = true
secrets_backend = "pass"
token_secret = "gordon/auth/token_secret"

[network_isolation]
enabled = true

[routes]
"app.company.com" = "company-app:v2.1.0"

[attachments]
"app.company.com" = ["postgres:latest", "redis:latest"]