This repository was archived by the owner on May 6, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.env.example
80 lines (65 loc) · 1.59 KB
/
.env.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
# Secret JWT token for authentication, don't share this with anyone.
JWT_ACCESS_TOKEN=
# If in debug mode or note
# (optional)
DEBUG=
# The mongo database uri to use, if not set it will use the default: mongodb://localhost/cpg
MONGO_URI=
# Postgres database information
POSTGRES_USER=
POSTGRES_PASSWORD=
POSTGRES_DATABASE=
POSTGRES_PORT=
POSTGRES_HOST=
# The domain to use for the api, if not set it will use the default: localhost
# Needs to look like: domain.com
# (optional)
DOMAIN=
# http or https, default: http
# (optional)
HTTP_SCHEMA=
# Session secret key for cookies
SESSION_SECRET=
# Which port to run on, default 8080
# (optional)
PORT=
# If you use OsTicket you can configure it here
# (optional)
OSTICKET_URL=
OSTICKET_API_KEY=
# If you have "swish" (Swedish company), you can use your number here for CPG
# (optional)
SWISH_PAYEE_NUMBER=
# Paypal credentials
# (optional)
PAYPAL_CLIENT_ID=
PAYPAL_CLIENT_SECRET=
# Stripe credentials
# (optional)
STRIPE_SK_LIVE=
STRIPE_SK_PUBLIC=
STRIPE_WEBHOOK_SECRET=
# This is a solution that will be probably removed in the near future
# but for the invoices adding these would be recommended.
COMPANY_NAME=
COMPANY_ADDRESS=
COMPANY_ZIP=
COMPANY_CITY=
COMPANY_COUNTRY=
COMPANY_PHONE=
COMPANY_EMAIL=
COMPANY_VAT=
COMPANY_CURRENCY=
COMPANY_LOGO_URL=
COMPANY_TAX_REGISTERED=
COMPANY_WEBSITE=
# For invoice you can add a template
# (optional)
PDF_TEMPLATE_URL=
# Plugins for CPG
# NOTE: Plugins can require different env variables to be set.
# (optional)
PLUGINS="[]"
# For the webhook, you add a secret to know the webhook is from CPG
# (optional)
WEBHOOK_SECRET=