forked from benkeen/generatedata
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.default
89 lines (64 loc) · 3.04 KB
/
.env.default
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
# Database settings
# --------------------
GD_MYSQL_ROOT_USER=root
GD_MYSQL_ROOT_PASSWORD=rootpass357
GD_DB_NAME=generatedata
GD_DB_PORT=3306
# API server
# --------------------
GD_API_SERVER_PORT=3001
# Web server
# --------------------
GD_WEB_DOMAIN=localhost
GD_WEB_SERVER_PORT=9000
GD_WEB_USE_HTTPS=false
# JWT Authentication
# --------------
GD_JWT_SECRET=Change this string to anything you like.
GD_JWT_LIFESPAN_MINS=15
GD_JWT_REFRESH_TOKEN_SECRET=Also change this string to something else.
GD_JWT_REFRESH_TOKEN_LIFESPAN_MINS=1440
# (optional) Sign-in with Google - oath2
GD_GOOGLE_AUTH_CLIENT_ID=
GD_GOOGLE_AUTH_CLIENT_SECRET=
# Nginx builds (used for pre-packaged distributed code)
# --------------------
# Application settings
# --------------------
# this setting controls the overall type of the installation. The options are:
# login - allows anonymous access but without logging in they can't save their data sets or generate more than
# GD_MAX_DEMO_MODE_ROWS at a time.
# single - there's only ever a single account and that user is logged in by default
# open - anyone that has access to the URL can use the application anonymously or create an account
# closed - no-one can access it without logging in first
GD_APP_TYPE=login
# this allows easy extension for the prod site. On the prod site, the homepage is a splash info page to the tool. For
# other distributions, that isn't necessary
GD_GENERATOR_PATH=/
# the default locale
GD_DEFAULT_LOCALE=en
# the default Export Type to show in the preview panel. You don't get any finer control over the ET settings, but
# that can come later
GD_DEFAULT_EXPORT_TYPE=JSON
# all available locales that show up in the UI. If you only enter 1, the icon to switch locales won't appear. If you
# want to add other locales, awesome! PRs welcome :)
GD_LOCALES=ar,de,en,es,fr,ja,nl,ta,zh
# the default value for the number of rows to generate
GD_DEFAULT_NUM_ROWS=100
# for `login` appType, this controls how many rows can be generated by anonymous (non-logged in) users
GD_MAX_DEMO_MODE_ROWS=1000
# any time a user saves a dataset, that change is stored in the database to allow the user to backtrack and see
# earlier versions of the dataset. This governs the max number of history items
GD_MAX_DATASET_HISTORY_SIZE=200
# this omits specific Data Types from the application. Comma-delimited (no spaces!). It omits them from appearing in
# the UI, but it also prevents them from being built as well. So incomplete Data Types won't throw an error and
# cause the build to fail
GD_DATA_TYPE_BLACKLIST=_NamesRegional,_PhoneRegional,OrganizationNumber,PAN,PersonalNumber,SIRET,Track1,Track2
# omits specific Export Types from the application; comma-delimited (no spaces!)
GD_EXPORT_TYPE_BLACKLIST=
# omits specific Country plugins from appearing in the application; comma-delimited (no spaces!)
GD_COUNTRY_BLACKLIST=
## used for extension purposes. TBD.
GD_IMPORT_FILES=
# unavailable just now. This enables/disables the REST API to allow users to generate data via a REST interface
GD_REST_API_ENABLED=false