2019-03-12 05:31:56 -04:00
|
|
|
[global]
|
|
|
|
address = "0.0.0.0"
|
|
|
|
port = 8080
|
|
|
|
|
|
|
|
[development]
|
2019-03-13 05:32:21 -04:00
|
|
|
base-URI = "http://localhost:8080"
|
2019-03-12 05:31:56 -04:00
|
|
|
from = "noreply@localhost"
|
|
|
|
x-accel-redirect = false
|
2019-04-12 07:09:57 -04:00
|
|
|
token_secret = "hagrid"
|
|
|
|
token_validity = 3600
|
2019-04-28 16:41:41 -04:00
|
|
|
template_dir = "dist/templates"
|
|
|
|
assets_dir = "dist/assets"
|
|
|
|
keys_internal_dir = "state/keys-internal"
|
|
|
|
keys_external_dir = "state/keys-external"
|
|
|
|
token_dir = "state/tokens"
|
|
|
|
tmp_dir = "state/tmp"
|
2019-05-05 08:58:05 -04:00
|
|
|
mail_rate_limit = 60
|
2019-05-05 14:17:54 -04:00
|
|
|
maintenance_file = "state/maintenance"
|
2019-07-19 14:46:16 -04:00
|
|
|
enable_prometheus = false
|
2019-08-28 14:33:24 -04:00
|
|
|
email_template_dir = "dist/email-templates"
|
2019-03-12 05:31:56 -04:00
|
|
|
|
|
|
|
[staging]
|
2019-03-13 05:32:21 -04:00
|
|
|
base-URI = "https://keys.openpgp.org"
|
2019-03-12 05:31:56 -04:00
|
|
|
from = "noreply@keys.openpgp.org"
|
|
|
|
x-accel-redirect = true
|
2019-04-28 16:41:41 -04:00
|
|
|
token_secret = "hagrid"
|
|
|
|
token_validity = 3600
|
|
|
|
template_dir = "templates"
|
|
|
|
keys_internal_dir = "keys"
|
|
|
|
keys_external_dir = "public/keys"
|
|
|
|
assets_dir = "public/assets"
|
|
|
|
token_dir = "tokens"
|
|
|
|
tmp_dir = "tmp"
|
2019-05-05 08:58:05 -04:00
|
|
|
mail_rate_limit = 60
|
2019-05-05 14:17:54 -04:00
|
|
|
maintenance_file = "maintenance"
|
2019-07-19 14:46:16 -04:00
|
|
|
enable_prometheus = false
|
2019-08-28 14:33:24 -04:00
|
|
|
email_template_dir = "email-templates"
|
2019-03-12 05:31:56 -04:00
|
|
|
|
|
|
|
[production]
|
2019-03-13 05:32:21 -04:00
|
|
|
base-URI = "https://keys.openpgp.org"
|
2019-06-22 17:12:14 -04:00
|
|
|
base-URI-Onion = "https://keys.openpgp.org"
|
2019-06-06 11:13:40 -04:00
|
|
|
from = "keys.openpgp.org <noreply@keys.openpgp.org>"
|
2019-03-12 05:31:56 -04:00
|
|
|
x-accel-redirect = true
|
2019-04-28 16:41:41 -04:00
|
|
|
token_secret = "generated production secret"
|
|
|
|
token_validity = 3600
|
|
|
|
template_dir = "templates"
|
|
|
|
keys_internal_dir = "keys"
|
|
|
|
keys_external_dir = "public/keys"
|
|
|
|
assets_dir = "public/assets"
|
|
|
|
token_dir = "tokens"
|
|
|
|
tmp_dir = "tmp"
|
2019-05-05 08:58:05 -04:00
|
|
|
mail_rate_limit = 3600
|
2019-05-05 14:17:54 -04:00
|
|
|
maintenance_file = "maintenance"
|
2019-07-19 14:46:16 -04:00
|
|
|
enable_prometheus = false
|
2019-08-28 14:33:24 -04:00
|
|
|
email_template_dir = "email-templates"
|