-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.override.yml
51 lines (51 loc) · 2.1 KB
/
docker-compose.override.yml
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
version: '3'
services:
backend:
environment:
# Required
SUPPORTMANAGEMENT_TEST_EMAIL: ${SUPPORTMANAGEMENT_TEST_EMAIL:?err}
# Groups that are allowed to login
AUTHORIZED_GROUPS: ${AUTHORIZED_GROUPS:?err}
ADMIN_GROUP: ${ADMIN_GROUP:?err}
# Application to differentiate between MEA and KC
APPLICATION: ${APPLICATION:?err}
# Sender information when sending support messages
SUPPORTMANAGEMENT_SENDER_EMAIL: ${SUPPORTMANAGEMENT_SENDER_EMAIL:?err}
SUPPORTMANAGEMENT_SENDER_SMS: ${SUPPORTMANAGEMENT_SENDER_SMS:?err}
# prefix for routes
BASE_URL_PREFIX: ${BASE_URL_PREFIX:?err}
# URL to the Sundsvalls Kommun API
API_BASE_URL: ${API_BASE_URL:?err}
# Used for API auth
CLIENT_KEY: ${CLIENT_KEY:?err}
CLIENT_SECRET: ${CLIENT_SECRET:?err}
# SAML
SAML_CALLBACK_URL: ${SAML_CALLBACK_URL:?err}
SAML_LOGOUT_CALLBACK_URL: ${SAML_LOGOUT_CALLBACK_URL:?err}
SAML_FAILURE_REDIRECT: ${SAML_FAILURE_REDIRECT:?err}
SAML_FAILURE_REDIRECT_MESSAGE: ${SAML_FAILURE_REDIRECT_MESSAGE:?err}
SAML_SUCCESS_REDIRECT: ${SAML_SUCCESS_REDIRECT:?err}
SAML_LOGOUT_REDIRECT: ${SAML_LOGOUT_REDIRECT:?err}
# IDP entry and cert
SAML_ENTRY_SSO: ${SAML_ENTRY_SSO:?err}
SAML_IDP_PUBLIC_CERT: ${SAML_IDP_PUBLIC_CERT:?err}
# SP issuer and certs, issuer is usually the base URL
SAML_ISSUER: ${SAML_ISSUER:?err}
SAML_PRIVATE_KEY: ${SAML_PRIVATE_KEY:?err}
SAML_PUBLIC_KEY: ${SAML_PUBLIC_KEY:?err}
# Used for session encrpytion
SECRET_KEY: ${SECRET_KEY:?err}
# Used for CORS - should contain the domain of frontend
ORIGIN: ${ORIGIN:?err}
# Optionals
NODE_ENV: ${NODE_ENV-production}
SWAGGER_ENABLED: ${SWAGGER_ENABLED-false}
LOG_FORMAT: ${LOG_FORMAT-dev}
LOG_DIR: ${LOG_DIR-../../data/logs}
CREDENTIALS: ${CREDENTIALS-true}
frontend:
environment:
# URL to backend
NEXT_PUBLIC_API_URL: ${NEXT_PUBLIC_API_URL:?err}
NEXT_PUBLIC_APPLICATION: ${NEXT_PUBLIC_APPLICATION:?err}
NEXT_PUBLIC_BASEPATH: ${NEXT_PUBLIC_BASEPATH:?err}