-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathexample.env
65 lines (56 loc) · 1.65 KB
/
example.env
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
# NOTE: There is no special handling of quotation marks.
# XXX This means that they are part of the VAL XXX
# Contact information
#APIS_ADMIN_EMAIL_HANDLER=1 # Uncomment to be emailed about application errors at the address below.
APIS_ADMIN_NAME=George
APIS_ADMIN_EMAIL=admin@example.com
APIS_DEFAULT_EMAIL=registration@example.com
APIS_DEALER_HEAD=marketplace@example.com
APIS_STAFF_HEAD=staff@example.com
# Django
DJANGO_SECRET_KEY=supersecretcrypt
DJANGO_LOGLEVEL=info
# Don't run with debug in production!
DJANGO_DEBUG=1
DJANGO_SERVER_EMAIL=no-reply@example.com
TZ=America/New_York
DATABASE_HOST=postgres
DATABASE_NAME=apis
DATABASE_USER=apis
DATABASE_PASS=secret
#DATABASE_PORT
# Admin environment banner
ENVIRONMENT_NAME=Production Server
ENVIRONMENT_COLOR=#FF0000
ENVIRONMENT_TEXT_COLOR=#00FF00
ENVIRONMENT_FLOAT=True
# Square
SQUARE_APPLICATION_ID=sandbox-sq0i-.....
SQUARE_ACCESS_TOKEN=AAA...
SQUARE_LOCATION_ID=...
SQUARE_CURRENCY=USD
# sandbox or production
SQUARE_ENVIRONMENT=sandbox
SQUARE_WEBHOOK_SIGNATURE_KEY=asdf1234...
# Email
EMAIL_HOST=localhost
EMAIL_PORT=25
EMAIL_HOST_USER=noreply@example.org
EMAIL_HOST_PASSWORD=secret
EMAIL_USE_TLS=false
# Register Android app
REGISTER_KEY=df14e4d5469e801dbc8e1df4eebd97b3
REGISTER_PRINTER_URI=https://print.example.com:5000
#REGISTER_ENDPOINT=
#REGISTER_DEFAULT_WEBVIEW=
#REGISTER_SQUARE_LOCATION=
#REGISTER_FORCE_LOCATION=
# Android app push notifications (Pushy.me)
CLOUD_MESSAGING_KEY=
# MQTT (browser/receipt printing push notifications).
MQTT_EXTERNAL_BROKER=wss://mqtt.example.com/mqtt
# Secret must be base64-encoded
MQTT_JWT_SECRET=secret==
MQTT_BROKER_HOST=localhost
MQTT_BROKER_PORT=1883
MQTT_BROKER_TLS=false