forked from ElementsProject/filebazaar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_filebazaar.yaml.example
59 lines (40 loc) · 1.18 KB
/
_filebazaar.yaml.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
### Server settings
env: production
#port: 9678
#host: 127.0.0.1
#url: http://my-public-url.com/
### Lightning Charge
#charge_url: http://localhost:9112
#charge_token: TOKEN_GOES_HERE
### 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
# 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/:
# Mastering-Bitcoin.pdf:
# price: 5 USD
# button: Buy this book