-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
47 lines (47 loc) · 2.26 KB
/
.env.example
File metadata and controls
47 lines (47 loc) · 2.26 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
# Environment name (dev, staging, production)
ENVIRONMENT=dev
# Required: email sender to use (should be no-reply)
NO_REPLY_EMAIL_SENDER=no-reply@example.com
# Auth0 tenant domain
AUTH0_DOMAIN=mytenant.auth0.com
# Custom domain, if enabled for your Auth0 tenant
AUTH0_CUSTOM_DOMAIN=https://customdomain.org
# ID and secret for an app authorized to use the management API
AUTH0_MANAGEMENT_ID=management-app-id
AUTH0_MANAGEMENT_SECRET=management-secret
AUTH0_AUDIENCE=https://audience.com/api
# Auth0 database connection used for password verification during password changes
AUTH0_DB_CONNECTION=Username-Password-Authentication
# Issuer for Auth0 tokens. Note that when you use a custom domain
# for login, the issuer will be the custom domain, but the
# audience will still be Auth0 tenant domain
AUTH0_ISSUER=https://customdomain.org/
RECAPTCHA_SECRET=recaptcha-secret
# JWT secret key: used to provide some protection around registration
# Generate with: python -c "import secrets; print(secrets.token_urlsafe(32))"
JWT_SECRET_KEY=secret-key
# Note the list syntax pydantic-settings uses
ADMIN_ROLES='["Admin", "GalaxyAdmin"]'
# Admin dashboard for debugging (disabled by default)
ENABLE_ADMIN_DASHBOARD=False
# AAI Portal URL for admin links in emails
AAI_PORTAL_URL=https://aaiportal.example.com
# Allowed email domains for SBP registration (note the JSON list syntax)
SBP_ALLOWED_EMAIL_DOMAINS='["gmail.com", "outlook.com", "example.com", "yahoo.com"]'
# URL of Galaxy instance, for making calls to Galaxy API
GALAXY_URL=https://galaxy.example.com
GALAXY_API_KEY=api-key
# Comma-separated list of allowed origins. Note we
# don't process this with pydantic-settings as it needs
# to be used before the FastAPI app loads
CORS_ALLOWED_ORIGINS=http://localhost:8000
# Database config: we do this differently for local dev vs. on AWS
# NOTE: DB_HOST is used first if present, so don't include it
# if you want a local DB
# Local dev: supply the full DB connection string as DB_URL
DB_URL=sqlite:///mydatabase.db
# AWS: supply DB_HOST, with the host name and port
# DB_HOST=mydb.amazonaws.com:5432
# AWS SES configs - required if testing email functionality locally. Ask amanda@biocommons.org.au for credentials values
# AWS_ACCESS_KEY_ID=<aws-access-key-id>
# AWS_SECRET_ACCESS_KEY=<aws-secret-access-key>