btcp-digital-store/_filebazaar.yaml.example

60 lines
1.2 KiB
Plaintext
Raw Permalink Normal View History

2017-12-17 03:15:55 -08:00
---
### Server settings
env: production
#port: 9678
#host: 127.0.0.1
#url: http://my-public-url.com/
2017-12-29 11:34:57 -08:00
### Lightning Charge
2017-12-17 03:15:55 -08:00
2017-12-29 11:34:57 -08:00
#charge_url: http://localhost:9112
#charge_token: TOKEN_GOES_HERE
2017-12-17 03:15:55 -08:00
### FileBazaar settings
# The directory containing the files for sale
# defaults to the directory containing this file
# directory: /path/to/files
# The default file price, can be overridden for individual files (see below)
#default_price: 0.25 USD
# Expiry times
#invoice_ttl: 3600 # lock-in exchange rate for 1 hour
#download_ttl: 172800 # make download available for 2 days after payment
2017-12-17 03:15:55 -08:00
# Secret for generating HMAC access tokens (required)
token_secret: $TOKEN_SECRET
# Directory to keep cached preview files
# defaults to `{directory}/_filebazaar_cache`
#cache_path: /path/to/filebazaar_cache
### Looks & feel
# See available themes on https://bootswatch.com
#theme: yeti
# Add custom CSS
#css: |
# body { background: blue }
# a { color: orange }
# Set custom views directory
#views_dir: /path/to/custom/views
# Set custom static files directory
#static_dir: /path/to/custom/static
### Files settings
#files:
# Books/:
2017-12-17 03:15:55 -08:00
# Mastering-Bitcoin.pdf:
# price: 5 USD
# button: Buy this book