-
Notifications
You must be signed in to change notification settings - Fork 3
/
makeit.ini.example
112 lines (98 loc) · 2.88 KB
/
makeit.ini.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[General]
Debug: False
Database: makeit.db
LogDatabase: log.db
AdminUser: [email protected]
AdminPassword: admin
SecretKey: secret
ServerHost: 0.0.0.0
ServerPort: 5000
; Deployment should be "Production" for real use - something different for test/devel servers
Deployment: Production
Logins: all
; all - global - resource
; "all" means all can login - "global" requires some global privs - "resource" requires trainer privs on a resource
DefaultLogin: oauth
; "oauth" or "local"
HelpURL: https://github.com/makeitlabs/authbackend/wiki/RATT-Tool-Authentication-Backend
MemberFolderPath: /mnt/memberfolders
MemberAudioPath: /tmp/memberAudio
; BackendLogfile: /tmp/authit.log NOT USED YET
; LockoutMessage: Covid-19 Training Required
[Payments]
Modules: stripe
Valid: false
Canary: Always.Member
; "Canary" member is one who the system will refuse to make subscription adjustments if this user becomes invalid
[Pinpayments]
Valid: False
Userid: userid
RootURI: https://subs.pinpayments.com/
Uri: https://subs.pinpayments.com/api/v4/userid/subscribers.xml
Token: 1234
Hashed: False
LastUpdated: Never
[Stripe]
Valid: False
Userid: userid
RootURI: https://api.stripe.com
Uri: https://api.stripe.com/v1/subscriptions
TokenTEST: sk_test_1234
Token: sk_live_1234
# Token for Vending machine transactions only
VendingToken: sk_live_1234
VendingProduct: prod_1234
[Smartwaiver]
Apikey: abcd
[OAuth]
GOOGLE_CLIENT_ID = '<Client-ID>'
GOOGLE_CLIENT_SECRET = '<Client-secret>'
REDIRECT_URI = '/authorized' # one of the Redirect URIs from Google APIs console
SECRET_KEY = 'development key'
[MQTT]
SSL=False
LogLevel=DEBUG
BrokerHost=localhost
BrokerPort=1883
keepalive=1000
BaseTopic=test/topic
; To enable auth - specify username and password
;username=
;password=
;Set SSL=True in MQTT to use (Commented ones are optional)
[MQTT_SSL]
ca_certs=/data/certs/ca.crt
certfile=/data/certs/client.crt
keyfile=/data/certs/client.key
;tls_version
;ciphers
[Slack]
BOT_API_TOKEN=<slackbot api token>
SLACKBOT_API_USERNAME=slackbot
SLACKBOT_API_PASSWORD=somethinglongandrandom
LOGFILE=slackbot.log
SLACK_API_TOKEN=xoxp-...BOT_with_admin_privs_to_create_user_accts
;Disabled=True --- Set to avoid doing things in test that would impact real users COMMENT OUT to remove
[SlackReporter]
BOT_API_TOKEN=<another slack api token>
BOT_CHANNEL=<channel ID for the weekly report>
BOT_NAME=<name of the slackbot for the weekly report>
[backups]
api_username=testkey
api_password=testkey
db_backup_directory=/tmp/backups
acl_backup_directory=/tmp/acls
aws_token=<AWS TOKEN>
aws_secret_key=<AWS SECRET KEY>
aws_bucket=<AWS BUCKET>
BOT_API_TOKEN=<SLACK TOKEN - PROBABLY SAME AS IN SLACK SECTION>
localurl=http://127.0.0.1:5000
[cameras]
api_username=camerausername
api_password=camerasystempassword
camera_id=cameraid
camera_addr=10.0.0.3:7001
slackchan=SlackCHallelIDtoReport
[autoplot]
ical_uri=<Autoplot ical URI>
stripe item=<Stripe sku_ or price_ to purchase>