tonyslist/config-example.yaml
Tony Grosinger 49edc0c546
Some checks failed
Build Production Image / Build Production Image (push) Failing after 6m9s
Set digests email address
2025-01-01 13:52:13 -08:00

95 lines
2.4 KiB
YAML

http:
hostname: ""
port: 8000
# This can be very high since app.timeout also protects all non-photo
# upload http handlers.
readTimeout: "1m"
# This can be very high since app.timeout also protects all non-photo
# upload http handlers.
writeTimeout: "1m"
idleTimeout: "2m"
tls:
enabled: false
certificate: ""
key: ""
app:
name: "Your App Name"
environment: "local"
# Must be an IANA Timezone database name
location: "America/Los_Angeles"
publicURL: "http://example.com"
# Change this on any live environments
encryptionKey: "CHANGE ME"
# timeout for all http handlers except the photo uploads endpoint.
timeout: "10s"
emailVerificationTokenExpiration: "12h"
maxWorkers: 2
metricsPort: 8001
# Basic auth username and password for the hooks endpoints.
hooksUsername: "hooks"
hooksPassword: "password"
flags:
cache:
numCounters: 1000
maxCost: 100
bufferItems: 64
expiration:
# Static files should generally use a cache-buster which causes a reload if
# the server is restarted.
staticFile: "4380h"
page: "24h"
storage:
# If omitted, rootDir will be the directory containing this config file.
#rootDir: ""
# photoStorageDir is relative to the rootDir.
photoStorageDir: "storage"
# databaseFile is relative to the rootDir.
databaseFile: "data.sqlite"
# rbacpolicypath is relative to the rootDir.
rbacpolicypath: "policy.csv"
mail:
# Create the necessary message streams and webhooks in Postmark.
configurePostmark: false
token: "CHANGE ME"
enable: true
domain: "example.com"
fromAddress: "app@example.com"
digestsAddress: "digests@example.com"
eventsAddress: "events@example.com"
# supportAddress is the email address displayed to public when they need to contact the site admin.
# Emails received by this address will be forwarded to the adminAddress.
supportAddress: "support@example.com"
# adminAddress should go to a real mailbox, not this app.
adminAddress: "admin@example.com"
mapbox:
token: "CHANGE ME"
boundingBox: "-123.0414,48.5843,-122.7352,48.7191"
resolution: "560x420"
discourse:
clientID: "CHANGEME"
clientSecret: "CHANGEME"
domain: "https://example.com"
stripe:
secretKey: "sk_test_4eC39HqLyjWDarjtT1zdp7dc"
publishableKey: "pk_test_TYooMQauvdEDq54NiTphI7jx"
subscriptionIDProduct: "prod_xxxxx"
subscriptionID5: "price_xxxxx"
subscriptionID10: "price_xxxxx"
subscriptionID25: "price_xxxxx"