-
Notifications
You must be signed in to change notification settings - Fork 11
/
.env.template
94 lines (82 loc) · 3.41 KB
/
.env.template
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
## ---------------------------------
## PRODUCTION
## ---------------------------------
# The domain name to use for your site in the production compose stack
SITE_ADDRESS=:80
# The domain name to use for the gateway service in the production compose stack
GATEWAY_SITE_ADDRESS=http://localhost:3500
# The ports to listen on
APP_PORT=5500
PLAYGROUND_PORT=3750
GATEWAY_PORT=3500
# The Docker release to use (latest = stable)
RELEASE_CHANNEL=latest
# The MongoDB version to use
MONGODB_VERSION=7.0
## ---------------------------------
## PRODUCTION + DEVELOPMENT
## ---------------------------------
# The absolute path to the root of the project (i.e., the directory where this file is located)
PROJECT_ROOT=
# The value to use for various security purposes.
SECRET_KEY=
# MongoDB URI not including database name. This will be overriden in production
# by the value defined in docker-compose.yaml. If you are using a remote database in
# development, you should set that here.
MONGO_URI=mongodb://localhost:27017
MONGO_REPLICA_SET=
MONGO_RETRY_WRITES=
MONGO_WRITE_CONCERN=
MONGO_DIRECT_CONNECTION=
# An email address to be used for mailto links on the website
CONTACT_EMAIL=support@douglasneuroinformatics.ca
# A link to the documentation page
DOCS_URL=https://opendatacapture.org/docs
# A link to the repository containing the source code for the platform
GITHUB_REPO_URL=https://github.com/DouglasNeuroInformatics/OpenDataCapture
# Whether or not the gateway should be activated
GATEWAY_ENABLED=true
# A link to the license governing distribution of the platform and all derivative work
LICENSE_URL=https://www.apache.org/licenses/LICENSE-2.0
# The interval (in miliseconds) at which the API will attempt to resync with the gateway
GATEWAY_REFRESH_INTERVAL=10000
# The path to the SQLite file for the gateway (e.g., file:/path/to/database.db)
GATEWAY_DATABASE_URL=
# The api key used internally in communication between the gateway and core API - minimum length of 32
GATEWAY_API_KEY=
# Whether 'debug' level logs should be enabled
DEBUG=false
# Whether 'verbose' level logs should be enabled
VERBOSE=false
# Enable rate limitting
THROTTLER_ENABLED=true
# Disable iteration for password hashing (not recommended for production)
# See https://pages.nist.gov/800-63-3/sp800-63b.html
# DANGEROUSLY_DISABLE_PBKDF2_ITERATION=
## ---------------------------------
## DEVELOPMENT
## ---------------------------------
# The port to use for the NestJS development server
API_DEV_SERVER_PORT=5500
# The port to use for the Astro (outreach website) development server
OUTREACH_DEV_SERVER_PORT=4000
# The port for the playground
PLAYGROUND_DEV_SERVER_PORT=3750
# The port to use for the gateway development server
GATEWAY_DEV_SERVER_PORT=3500
# The port to use for the Vite (full web app) development server
WEB_DEV_SERVER_PORT=3000
# If set to 'true' and NODE_ENV === 'development', then login is automated
VITE_DEV_BYPASS_AUTH=false
# The username to use if VITE_DEV_BYPASS_AUTH is set to true
VITE_DEV_USERNAME=admin
# The password to use if VITE_DEV_BYPASS_AUTH is set to true
VITE_DEV_PASSWORD=Password12345678
# The base url for requests, which is overridden by reverse proxy in compose stack
API_BASE_URL=http://localhost:5500
# The number of miliseconds to delay the result of HTTP requests in development
VITE_DEV_NETWORK_LATENCY=0
# Plausable analytics config (optional, set both to an empty string to disable)
PLAUSIBLE_BASE_URL=
PLAUSIBLE_WEB_DATA_DOMAIN=
TURBO_CACHE_DIR=".turbo"