-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv-example
More file actions
214 lines (180 loc) · 8.47 KB
/
env-example
File metadata and controls
214 lines (180 loc) · 8.47 KB
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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
##########################################################################################
# FORMIO-API ENVIRONMENTAL VARIABLES TEMPLATE
##########################################################################################
#
# This templates configures the formio-api docker image. It updates the default values
# provided in https://github.com/formio/formio/blob/master/config/default.json. Once
# modified, you must change the file name to .env to be included during docker-compose.
#
##########################################################################################
# Choose storage path on your machine. For all storage systems
DATA_PATH_HOST=./data/compose
##########################################################################################
# Docker Configuration
##########################################################################################
#
# - NETWORKS_DRIVER: The docker network to attach the container
# - VOLUMES_DRIVER The volume to attach the containers
#
##########################################################################################
NETWORKS_DRIVER=bridge
VOLUMES_DRIVER=local
##########################################################################################
# Form.io Project Configurations
##########################################################################################
#
# - FORMIO_PROTOCOL: The protocol used to connect to the formio
# container (default = http).
#
# - FORMIO_HOST: The host used to connect to the formio
# container (default = localhost).
#
# - FORMIO_PORT: The port used to connect to the formio
# container (listening port)
#
# - PROJECT_TEMPLATE: The project template to use
# (leave empty or use default to us default Form.io template).
#
# - ROOT_EMAIL: The default root account username used
# when installing the Form.io API.
#
# - ROOT_PASS: The default root account password used when
# installing the Form.io API.
#
##########################################################################################
FORMIO_PROTOCOL=http
FORMIO_HOST=localhost
FORMIO_PORT=3001
PROJECT_TEMPLATE=default
USER_FORM=user
USER_LOGIN_FORM=
ROOT_EMAIL=admin@example.com
ROOT_PASS=admin@example.com
##########################################################################################
# FORM.IO MongoDB Configurations
##########################################################################################
#
# - MONGO: The mongodb connection string.
# - MONGO_SECRET: The mongodb encryption secret.
# - MONGO_HIGH_AVAILABILITY: If your database is high availability
# (like from Mongo Cloud or Compose),
# then this needs to be set (1 or 0).
#
##########################################################################################
MONGO=mongodb://user:user@mongo:27017/fast
MONGO_SECRET=FTFaVuIdSv4Hj2bjnwae
MONGO_HIGH_AVAILABILITY=0
##########################################################################################
# JWT Configurations
##########################################################################################
#
# JWT_SECRET: The secret password for JWT token encryption.
# JWT_EXPIRETIME: The expiration for the JWT tokens.
#
##########################################################################################
JWT_SECRET=CHANGEME
JWT_EXPIRE_TIME=240
##########################################################################################
# Default Email Transport Configuration
##########################################################################################
#
# - EMAIL_TYPE: The default email transport type (sendgrid or mandrill).
# - EMAIL_USER: The sendgrid api_user string.
# - EMAIL_PASS: The sendgrid api_key string.
# - EMAIL_KEY: The mandrill apiKey string.
#
##########################################################################################
EMAIL_TYPE=sendgrid
EMAIL_USER=CHANGEME
EMAIL_PASS=CHANGEME
EMAIL_KEY=CHANGEME
##########################################################################################
# Office 365 Configuration
##########################################################################################
#
# - O365_TENANT: The Office 365 tenant name.
# - O365_CLIENT_ID: The Office 365 client id.
# - O365_EMAIL: The Office 365 account email address.
# - O365_CERT: The Office 365 certificate to use for authentication.
# - O365_THUMBPRINT: The Office 365 certificate's thumbprint.
#
##########################################################################################
O365_TENANT=
O365_CLIENT_ID=
O365_EMAIL=
O365_CERT=
O365_THUMBPRINT=
##########################################################################################
# Gmail Email Transport Configuration
##########################################################################################
#
# - GMAIL_USER: The Gmail account email address.
# - GMAIL_PASS: The Gmail account password.
#
##########################################################################################
GMAIL_USER=
GMAIL_PASS=
##########################################################################################
# SMTP Email Transport Configuration
##########################################################################################
#
# - SMTP_HOST: The SMTP server host.
# - SMTP_SSL: Should the connection to the SMTP server be over SSL.
# - SMTP_PORT: The SMTP server port.
# - SMTP_USER: The account username to authenticate with the SMTP server.
# - SMTP_PASS: The account password to authenticate with the SMTP server.
#
##########################################################################################
SMTP_HOST=
SMTP_SSL=
SMTP_PORT=
SMTP_USER=
SMTP_PASS=
##########################################################################################
# Email Override Configuration
##########################################################################################
#
# - EMAIL_OVERRIDE: Provides a way to point all Email
# traffic to a server (ignores all other email configurations).
# example: {"transport":"smtp","settings":{
# "port":2525,"host":"smtp.mailtrap.io",
# "auth":{"user":"23esdffd53ac","pass":"324csdfsdf989a"}}}
#
##########################################################################################
EMAIL_OVERRIDE=
##########################################################################################
# MongoDB Configurations
##########################################################################################
#
# - MONGO_PORT: Port to start the mongodb service.
# - MONGO_ROOT_USERNAME: Name of the root (admin) user
# - MONGO_ROOT_PASSWORD: Password of the root (admin) user
# - MONGO_DB_NAME: Name of the database to create
# - MONGO_DB_USER: Name of the main user of the created DB
# - MONGO_DB_PASSWORD: Password of the main user of the created DB
#
##########################################################################################
MONGO_PORT=27017
MONGO_ROOT_USERNAME=admin
MONGO_ROOT_PASSWORD=admin
MONGO_DB_USER=user
MONGO_DB_PASSWORD=user
MONGO_DB_NAME=fast
##########################################################################################
# OpenCpu Configurations
##########################################################################################
#
# - OPENCPU_PORT_HTTP: The OpenCpu http port
# - OPENCPU_PORT_HTTPS: The OpenCpu https port
#
##########################################################################################
OPENCPU_PORT_HTTP=8085
OPENCPU_PORT_HTTPS=8086
##########################################################################################
# Nginx Configurations
##########################################################################################
#
# - FAST_PATH: Fast project location
#
##########################################################################################
FAST_PATH=~/fast