This repository has been archived by the owner on Jul 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
/
dotenv.sample
173 lines (138 loc) · 3.62 KB
/
dotenv.sample
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
## Rename this file to .env.docker
## PRE-CONFIGURED
# Environments
RACK_ENV=production
RAILS_ENV=production
# nginx vhosts
VIRTUAL_HOST=cloudnet-app
CERT_NAME=server
# Postgres credentials
DB_NAME=cloudnet
DB_USER=postgres
DB_PASSWD=
DB_HOST=cloudnet-db
DB_PORT=5432
MEMCACHE_URI=cloudnet-memcached:11211
REDIS_URI=redis://cloudnet-redis:6379
## REQUIRED
# Host settings
HOST_DOMAIN=cloud.net
BRAND_NAME=Cloud.net
# Generate with `rails generate symmetric_encryption:new_keys production`
SYMMETRIC_ENCRYPTION_KEY=
# Session keys. Generate with `rake secret`
DEVISE_SECRET_KEY=
COOKIES_SECRET_BASE=
# Onapp API
ONAPP_API_ALLOW_INSECURE=false
ONAPP_CP=https://onapp.api.endpoint.com
ONAPP_USER=
ONAPP_PASS=
ONAPP_ROLE=
ONAPP_BILLING_PLAN_ID=
# PayPal Config
PAYPAL_USER=
PAYPAL_PASS=
PAYPAL_SIGNATURE=
# Zendesk
ZENDESK_HOST=
ZENDESK_USER=
ZENDESK_TOKEN=
ZENDESK_TRIGGER_USER=
ZENDESK_TRIGGER_PASS=
ZENDESK_CUSTOM_SERVER_KEY=
ZENDESK_CUSTOM_DEPT_KEY=
ZENDESK_GROUP_GENERAL=
ZENDESK_GROUP_BILLING=
ZENDESK_GROUP_ABUSE=
ZENDESK_GROUP_SALES=
ZENDESK_GROUP_OTHER=
# Pingdom
PINGDOM_KEY=
PINGDOM_USER=
PINGDOM_PASS=
# Used to display the map of providers, seen when creating a server
MAPBOX_TOKEN=
MAPBOX_PUBLIC_TOKEN=
# Used to display images for provider locations
FIVEHUNDREDPX_KEY=
# Email provider. Eg; Sendgrid, Mandrill, etc
SMTP_DOMAIN=smtp.your-mail-server.com
SMTP_PORT=
SMTP_USER=
SMTP_PASSWORD=
SMTP_AUTH_METHOD=
SMTP_SSL_VERIFY=
# Admin recipients
MAILER_ADMIN_RECIPIENTS="[email protected], [email protected]"
# Financial report recipients
MAILER_ENQUIRY_RECIPIENTS="[email protected], [email protected]"
MAILER_FINANCE_RECIPIENTS="[email protected], [email protected]"
MAILER_SUPPORT_MAIN="[email protected]"
MAILER_SUPPORT_RECIPIENTS="[email protected], [email protected]"
MAILER_SUPPORT_ESCALATE="[email protected]"
MAILER_ADMIN_DEFAULT_FROM='Cloud.net Admin <[email protected]>'
MAILER_NOTIFICATIONS_DEFAULT_FROM='Cloud.net Notifications <[email protected]>'
MAILER_DEFAULT_WELCOME='Cloud.net <[email protected]>'
MAILER_BILLING='[email protected]'
MAILER_CONTACT_MAIN='[email protected]'
# Appears at the top of PDFs for invoices, credit notes, etc
PDF_HEADER="Company name\nAddress line 1\nVAT number\netc"
## OPTIONAL
# Stripe - required to accept credit cards
STRIPE_API_KEY=
STRIPE_PUBLISH_KEY=
STRIPE_API_VERSION=2014-06-17
# Credit card fraud detection
MAXMIND_KEY=
# SiftScience - fraud mitigation
SIFT_SCIENCE_JS_SNIPPET_KEY=
SIFT_SCIENCE_API_KEY=
SIFT_SCIENCE_ACCOUNT_ID=
SIFT_USER_VALIDATE_ACTION_ID=
SIFT_USER_APPROVE_ACTION_ID=
# Docker provisioner
DOCKER_PROVISIONER=
DOCKER_PROVISIONER_USER=
DOCKER_PROVISIONER_PASS=
# Nexmo - for verifying phone numbers
NEXMO_API_KEY=
NEXMO_API_SECRET=
# Use 'true' if you're hosting on Docker or a PaaS like Heroku
SERVE_STATIC_FILES=
# Google Analytics code
GA_UA_NUMBER=
#HubSpot CRM
HUBSPOT_ID=
# Segment.io custom analytics
ANALYTICS_KEY=
# AdRoll Pixel
ADROLL_ADV_ID=
ADROLL_PIX_ID=
# Elevio
ELEVIO_ACCOUNT_ID=
# Intercom
INTERCOM_APP_ID=
INTERCOM_SECRET_KEY=
INTERCOM_ACCESS_TOKEN=
# New Relic
NEW_RELIC_KEY=
# Logging
SENTRY_DSN_URI=http://localhost
# DB Backups
CRON_SCHEDULE=0 0 * * *
S3_PATH=s3://bucket-name/path/to/dir
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-west-1
# Optional
# WEBHOOK=https://example.com/some/path
# WEBHOOK_METHOD=GET
# Capistrano deployment config. (Not needed if using Docker installation method)
#[email protected]:OnApp/cloudnet.git
#PROD_SERVER1_IP=1.2.3.4
#PROD_SERVER2_IP=1.2.3.4
#STAGING_SERVER1_IP=1.2.3.4
#STAGING_SERVER2_IP=1.2.3.4