-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.template
56 lines (43 loc) · 1.9 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
# SPDX-FileCopyrightText: 2021 Genome Research Ltd.
#
# SPDX-License-Identifier: MIT
# All environment variables needed for running Submissions API
# Ensure these are passed to docker-compose with the --env-file option
# These are for the submissions-db (or a non-docker database in the case of staging or production)
POSTGRES_USER=submissions-dev
POSTGRES_PASSWORD=submit-that-stuff
POSTGRES_DB=submissions_local
POSTGRES_HOST=submissions-db
POSTGRES_PORT=5432
# Location of the Submissions API from the point of view of the submissions-ui docker container (i.e. the internal port)
# This is used to proxy api calls to the actual api docker container
SUBMISSIONS_API_LOCATION=http://submissions-api
# Database connection string (you shouldn't need to change this unless using a non-postgres database)
DB_URI=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}
# Minio is the document storage service
MINIO_URI=submissions-minio:9000
MINIO_ACCESS_KEY=minio
MINIO_SECRET_KEY=minio12345678
MINIO_BUCKET=submissions
MINIO_SECURE=False
# Elixir (authentication) service details
ELIXIR_CLIENT_ID=<Elixir Submissions client ID>
ELIXIR_CLIENT_SECRET=<Elixir Submissions client secret>
ELIXIR_REDIRECT_URI=http://localhost:3003/callback
ELIXIR_JWK=<JWK for Elixir>
# ToLID service - this is used for checking species and creating ToLIDs
TOLID_URL=https://id-staging.tol.sanger.ac.uk/api/v2
TOLID_API_KEY=<API key for ToLID service>
# ENA login details
ENA_URL=https://wwwdev.ebi.ac.uk
ENA_USERNAME=<ENA Webin username>
ENA_PASSWORD=<ENA Webin password>
# ENA contact details - used in XML submissions to ENA
ENA_CONTACT_NAME=Sanger Tree of Life Enabling Platforms Team
ENA_CONTACT_EMAIL=<test-email-address>
# STS details
STS_URL=https://sts-staging.tol.sanger.ac.uk/api/v1
STS_API_KEY=<API key for STS>
# NIH/NCBI details
NIH_API_KEY=<API key from NIH>
SYSLOG_URI=<syslog endpoint for ELK>