fosspay/config.ini.example

76 lines
2.0 KiB
Plaintext
Raw Normal View History

2015-09-05 02:51:20 +00:00
[dev]
# Change this to the actual location of your site
2015-09-06 21:59:29 +00:00
# You can include a path in the domain if it's a subdirectory
# i.e. domain=drewdevault.com/donate
# omit the trailing slash
2015-09-05 02:51:20 +00:00
protocol=http
domain=localhost:5000
# Change this value to something random and secret
secret-key=hello world
# On the debug server, this lets you choose what to bind to
debug-host=0.0.0.0
debug-port=5000
# Fill out these details with your mail server
2019-12-24 16:12:22 +00:00
smtp-host=mail.example.org
2015-09-05 02:51:20 +00:00
smtp-port=587
smtp-user=you
smtp-password=password
2019-12-24 16:12:22 +00:00
smtp-from=donate@example.org
2015-09-05 02:51:20 +00:00
# Your information
2015-09-06 21:59:29 +00:00
your-name=Joe Bloe
2019-12-24 16:12:22 +00:00
your-email=joe@example.org
2015-09-06 01:30:52 +00:00
# ^ you should have a gravatar that works with this email
2015-09-05 02:51:20 +00:00
# SQL connection string
connection-string=postgresql://postgres@localhost/fosspay
2015-09-06 01:36:13 +00:00
2015-09-06 21:59:29 +00:00
# Stripe API info: https://dashboard.stripe.com/account/apikeys
stripe-secret=
stripe-publish=
# Currency to use
# "usd" for dollar, "eur" for euro
# refer to stripe documentation for details : https://stripe.com/docs/currencies
currency=usd
2017-12-09 17:06:54 +00:00
# Separate with spaces
default-amounts=3 5 10 20
# Which one to pick when they arrive?
default-amount=5
# Pick between "monthly" and "once"
default-type=monthly
2017-12-09 16:43:32 +00:00
2019-01-16 17:57:13 +00:00
# Display monthly donations publicly
2017-12-09 16:43:32 +00:00
public-income=yes
# How much are you hoping to earn monthly, in cents
goal=500
# Optional Patreon integration
# Register a client here: https://www.patreon.com/portal/registration/register-clients
# And put in the "Creator's Access Token" here:
patreon-access-token=
# And the "Creator's Refresh Token" here:
patreon-refresh-token=
# Client ID
patreon-client-id=
# Client secret
patreon-client-secret=
2017-12-09 16:43:32 +00:00
# And the Patreon campaign you want to connect with:
patreon-campaign=
# Optional LiberaPay integration, fill in your username here
liberapay-campaign=
2019-11-02 20:42:48 +00:00
# Optional GitHub sponsors integration
# Generate personal access key at https://github.com/settings/tokens
# Must have "user" access.
github-token=
# Command to reload fosspay (send it a SIGHUP)
reload-command=kill -HUP $(pgrep -xf '/usr/bin/python3.*app.py' | tail -n 1)