-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.template
More file actions
81 lines (63 loc) · 2.67 KB
/
.env.template
File metadata and controls
81 lines (63 loc) · 2.67 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
# NOTE: Replace your configs in here, but don't commit this up to the repo.
USER_ID=<user id of system user>
GROUP_ID=<group id of system user>
# GitHub OAuth variables. Only required if using GitHub as an OAuth provider.
GITHUB_OAUTH_CLIENT_ID=<Client ID of GitHub OAuth app.>
GITHUB_OAUTH_CLIENT_SECRET=<Client Secret of GitHub Oauth app.>
ORCID_SANDBOX_AUTHENTICATION=<true or false; true=>use the Sandbox Orcid, false=>use the Production Orcid. Defaults to false.>
# 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
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
# Request cache records paginating through available records per program by CACHE_BRAPI_FETCH_PAGE_SIZE
CACHE_PAGINATE_GERMPLASM=false
CACHE_BRAPI_FETCH_PAGE_SIZE=65000
# BrAPI Server Variables
BRAPI_SERVER_PORT=8083
BRAPI_DOCKER_IMAGE=breedinginsight/brapi-java-server:develop
# Brapi Server Variables
BRAPI_DEFAULT_URL=http://localhost:8083
BRAPI_CORE_URL=http://brapiserver:8080/
BRAPI_PHENO_URL=http://brapiserver:8080/
BRAPI_GENO_URL=http://brapiserver:8080/
BRAPI_REFERENCE_SOURCE=breedinginsight.org
WEB_BASE_URL=http://localhost:8080
# Email server
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>
GIGWA_HOST=<gigwa host (including port)>
GIGWA_USER=<username>
GIGWA_PASSWORD=<password>
AWS_REGION=<aws region>
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>
BRAPI_VENDOR_SUBMISSION_ENABLED=false #can a submission be sent to a vendor via BrAPI
BRAPI_VENDOR_CHECK_FREQUENCY=1d #how often to check for vendor updates for sample submissions
#The initial caching of each type of object needs to be staggered by the prescribed number of seconds
GERMPLASM_START_DELAY=5s
STUDY_START_DELAY=10s
TRIAL_START_DELAY=15s
TRAIT_START_DELAY=20s
OBSERVATION_START_DELAY=25s
OBSERVATION_UNIT_START_DELAY=30s