Penny logoPPenny
Configuration

Configuration

Overview of Penny's configuration file

Penny is configured using a TOML file, typically named penny.toml. The file contains global settings, optional TLS configuration, and one or more app definitions.

Full Example

api_address = "0.0.0.0:3031"
api_domain = "penny.example.com"
database_url = "sqlite://penny.db"

[tls]
enabled = true
acme_email = "you@example.com"
# staging = true
# certs_dir = "./certs"
# renewal_days = 30
# renewal_check_interval_hours = 12

["app1.example.com"]
address = "127.0.0.1:3001"
command = "node server.js"
health_check = "/"
wait_period = "10m"
also_warm = ["app2.example.com"]

["app2.example.com"]
address = "127.0.0.1:3002"
command = "python app.py"
health_check = "/health"
adaptive_wait = true

Sections

On this page