zero-to-production/configuration/base.yaml

17 lines
444 B
YAML
Raw Permalink Normal View History

application:
port: 8000
host: 0.0.0.0
hmac_secret: "super-long-and-secret-random-key-needed-to-verify-message-integrity"
database:
2021-10-07 20:55:04 +00:00
host: "127.0.0.1"
port: 5432
username: "postgres"
password: "password"
database_name: "newsletter"
2021-01-16 15:11:17 +00:00
require_ssl: false
email_client:
2021-01-16 23:01:08 +00:00
base_url: "localhost"
sender_email: "test@gmail.com"
authorization_token: "my-secret-token"
timeout_milliseconds: 10000
redis_uri: "redis://127.0.0.1:6379"