-
Notifications
You must be signed in to change notification settings - Fork 3
/
compose.prod.yml
22 lines (20 loc) · 1.23 KB
/
compose.prod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
secrets:
tls-cert-file:
file: "${TLS_CERT_FILE:?TLS_CERT_FILE must be set}"
tls-key-file:
file: "${TLS_KEY_FILE:?TLS_KEY_FILE must be set}"
services:
usaon-benefit-tool:
image: "nsidc/usaon-benefit-tool:${USAON_BENEFIT_TOOL_VERSION:?USAON_BENEFIT_TOOL_VERSION must be set}"
environment:
# Host/port for talking to the DB:
USAON_BENEFIT_TOOL_DB_HOST: "${USAON_BENEFIT_TOOL_DB_HOST:?USAON_BENEFIT_TOOL_DB_HOST must be set}"
USAON_BENEFIT_TOOL_DB_PORT: "${USAON_BENEFIT_TOOL_DB_PORT:?USAON_BENEFIT_TOOL_DB_PORT must be set}"
# Creds for talking to the DB:
USAON_BENEFIT_TOOL_DB_USER: "${USAON_BENEFIT_TOOL_DB_USER:?USAON_BENEFIT_TOOL_DB_USER must be set}"
USAON_BENEFIT_TOOL_DB_PASSWORD: "${USAON_BENEFIT_TOOL_DB_PASSWORD:?USAON_BENEFIT_TOOL_DB_PASSWORD must be set}"
# Creds for talking to Google:
USAON_BENEFIT_TOOL_GOOGLE_CLIENT_ID: "${USAON_BENEFIT_TOOL_GOOGLE_CLIENT_ID:?USAON_BENEFIT_TOOL_GOOGLE_CLIENT_ID must be set}"
USAON_BENEFIT_TOOL_GOOGLE_CLIENT_SECRET: "${USAON_BENEFIT_TOOL_GOOGLE_CLIENT_SECRET:?USAON_BENEFIT_TOOL_GOOGLE_CLIENT_SECRET must be set}"
# Needed for secure session management:
FLASK_SECRET_KEY: "${FLASK_SECRET_KEY:?FLASK_SECRET_KEY must be set}"