-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.template
72 lines (56 loc) · 2.2 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
USER_ID=<user id of system user>
GROUP_ID=<group id of system user>
# Authentication variables
OAUTH_CLIENT_ID=<oauth app client id>
OAUTH_CLIENT_SECRET=<ouath_client_secret goes here>
JWT_SECRET=<jwt secret goes here>
JWT_DOMAIN=<jwt domain ex. localhost>
# Database variables
DB_PASSWORD=<database password goes here>
DB_SERVER=<database server path (ex. localhost:5432)>
DB_NAME=<database name>
DB_USER=<database user>
ADMIN_ORCID=<orcid for admin account goes here>
# Build variables needed to pull down JAR files from Github Packages
GITHUB_ACTOR=<github user name>
GITHUB_TOKEN=<github personal access token>
# Micronaut variables
API_INTERNAL_PORT=8081
API_INTERNAL_TEST_PORT=8082
BRAPI_READ_TIMEOUT=60m
# Max number of records to POST to the BrAPI service per request
POST_CHUNK_SIZE=1000
# BrAPI Server Variables
BRAPI_SERVER_PORT=8080
BRAPI_DEFAULT_URL=http://brapiserver:8080
BRAPI_REFERENCE_SOURCE=breedinginsight.org
BRAPI_DB_SERVER=<brapi database server (ex. dbserver:5432)>
BRAPI_DB=<brapi database name>
BRAPI_DB_USER=<brapi database user>
BRAPI_DB_PASSWORD=<brapi database password>
WEB_BASE_URL=http://localhost
API_BASE_URL=http://localhost
ANALYTICS_GTAG_ID=<Google analytics gtag id>
# Public domain name
REGISTERED_DOMAIN=localhost
# Email relay information
EMAIL_RELAY_HOST=<mailhog for development, email-smtp.us-east-1.amazonaws.com for production>
EMAIL_RELAY_PORT=<1025 for development, 2587 for production>
EMAIL_FROM=noreply@breedinginsight.org
#EMAIL_RELAY_LOGIN=<blank for development>
#EMAIL_RELAY_PASSWORD=<blank for development>
REDIS_URL=<redis url, ex redis://localhost:6379>
REDIS_TIMEOUT=<timeout, default 30s>
REDIS_SSL=<enable ssl, default false>
GIGWA_HOST=<gigwa host (including port), ex http://localhost:8080>
GIGWA_USER=<username>
GIGWA_PASSWORD=<password>
GIGWA_MONGO_USER=<gigwa mongodb username>
GIGWA_MONGO_PASSWORD=<gigwa mongodb password>
AWS_REGION=<aws region, default us-east-1>
AWS_ACCESS_KEY_ID=<access key>
AWS_SECRET_KEY=<secret>
AWS_GENO_BUCKET=<s3 bucket for genotypic data uploads>
AWS_S3_ENDPOINT=<s3 endpoint, default https://s3.us-east-1.amazonaws.com
# feature flags
BRAPI_VENDOR_SUBMISSION_ENABLED=false # allow sample submissions to be transmitted to a vendor via BrAPI