You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be very convenient to have such configurations persisted to a file, like a configuration file that gets picked up by Krane during startup. Environment variables can optionally be used to configure this file and the idea is environment variables would overwrite default values set in the configuration file.
krane.yaml
---
krane:
private_key: "xxx"# Private key for signing auth requestslog_level: debug # Log level used by Krane specific logsssh_keys: "/usr/.ssh/authorized_keys"# Path to your ssh keys domain: "krane.example.com"# DNS domain used by Krane to receive requests ($ krane login <domain>)https: true # Secure TLS communication (Powered by Lets Encrypt)db:
path: "/data/krane"# Database directory used by Krane to store dataworkers: 1# Workers for deployment jobsqueue:
size: 1# Deployment jobs queued at any given timeretry_policy: 1# Amount of retries for a failed jobproxy:
enabled: true # If the DNS proxy (Traefik) should be runningdomain: "proxy.example.com"# DNS domain to use for the Traefik dashboardhttps: true # Secure TLS communication (Powered by Lets Encrypt)letsencrypt:
email: "[email protected]"# Email used to generate Lets Encrypt certificates for ALL your infrastructure
Proposed configuration would be in YAML since it's a standard configuration format that allows the use of comments
The configuration file allows you to configure the Krane and Proxy options
The text was updated successfully, but these errors were encountered:
Krane's startup configuration is entirely managed through environment variables.
It would be very convenient to have such configurations persisted to a file, like a configuration file that gets picked up by Krane during startup. Environment variables can optionally be used to configure this file and the idea is environment variables would overwrite default values set in the configuration file.
krane.yaml
The text was updated successfully, but these errors were encountered: