-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8d4a9c4
commit e45db9e
Showing
1 changed file
with
22 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,31 @@ | ||
# Example environment file. | ||
# You may use this file to configure the environment for local development. | ||
# Simply copy this file and rename it to .env, and fill in the values. | ||
# It will be loaded in place by the backend. | ||
|
||
# Strelka connection information (OPTIONAL / HAS DEFAULTS). | ||
STRELKA_HOST=strelka_frontend_1 | ||
STRELKA_PORT=57314 | ||
STRELKA_CERT= | ||
|
||
# Certificate Path (OPTIONAL). | ||
CA_CERT_PATH= | ||
export STRELKA_HOST=strelkatap.dev.cse.target.com | ||
export STRELKA_PORT=8443 | ||
export STRELKA_CERT=/Users/Z0029ZB/Documents/GitHub/strelka-ui/cert.crt | ||
|
||
# LDAP URL and credentials for search-bind auth (OPTIONAL). | ||
LDAP_URL= | ||
LDAP_SEARCH_BASE= | ||
LDAP_USERNAME_ORGANIZATION= | ||
LDAP_ATTRIBUTE_ACCOUNT_NAME_FIELD= | ||
LDAP_ATTRIBUTE_FIRST_NAME_FIELD= | ||
LDAP_ATTRIBUTE_LAST_NAME_FIELD= | ||
LDAP_ATTRIBUTE_MEMBER_OF_FIELD= | ||
LDAP_ATTRIBUTE_MEMBER_REQUIREMENT_FIELD= | ||
# Fully qualified postgres db url (with protocol, user, pass, host and db) (OPTIONAL / HAS DEFAULTS). | ||
export DATABASE_URL= | ||
|
||
# Folder where the build react app is served from (OPTIONAL / HAS DEFAULTS). | ||
# Requires the front end to be built (i.e. from /ui, run `npm run build`) | ||
STATIC_ASSET_FOLDER= | ||
export STATIC_ASSET_FOLDER=./react-app/ | ||
|
||
# Folder where the alembic migrations live (OPTIONAL / HAS DEFAULTS). | ||
MIGRATION_DIRECTORY= | ||
export MIGRATION_DIRECTORY=migrations | ||
|
||
# Database configuration (REQUIRED / HAS DEFAULTS FOR LOCAL COMPOSE CLUSTER ONLY). | ||
export DATABASE_USERNAME= | ||
export DATABASE_PASSWORD= | ||
export DATABASE_HOST= | ||
export DATABASE_PORT= | ||
export DATABASE_DBNAME= | ||
|
||
# Root Certificates | ||
export CA_CERT_PATH= | ||
|
||
# Database configuration (REQUIRED / HAS DEFAULTS FOR LOCAL COMPOSE CLUSTER ONLY). | ||
DATABASE_USERNAME=postgres | ||
DATABASE_PASSWORD=postgres | ||
DATABASE_HOST=postgresdb | ||
DATABASE_PORT=5432 | ||
DATABASE_DBNAME=strelka_ui | ||
# VirusTotal Support | ||
export VIRUSTOTAL_API_KEY= | ||
export VIRUSTOTAL_API_LIMIT= | ||
|
||
# API Key Expiry Details (OPTIONAL / HAS DEFAULTS). | ||
API_KEY_EXPIRATION= | ||
# Default Submission Exclusions | ||
export DEFAULT_EXCLUDED_SUBMITTERS=["ExcludeUser"] |