-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.prod.yaml
63 lines (60 loc) · 1.55 KB
/
docker-compose.prod.yaml
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
57
58
59
60
61
62
63
version: "3.9"
x-common:
&common
restart: unless-stopped
logging:
driver: journald
services:
server:
build: server
image: ghcr.io/ccmbioinfo/osmp:stable
cpus: 2.0
mem_limit: 10G
restart: always
environment:
G4RD_AUTH_METHOD:
G4RD_PASSWORD:
G4RD_URL:
G4RD_USERNAME:
G4RD_REALM:
G4RD_GRANT_TYPE:
G4RD_TOKEN_URL:
G4RD_CLIENT_ID:
CMH_AZURE_CLIENT_ID:
CMH_AZURE_CLIENT_SECRET:
CMH_TOKEN_URL:
CMH_RESOURCE:
CMH_SCOPE:
CMH_GRANT_TYPE:
CMH_GENE42_SECRET:
CMH_URL:
KEYCLOAK_AUTH_URL:
KEYCLOAK_CLIENT_ID:
KEYCLOAK_REALM:
MONGO_CONNECTION_STRING:
SERVER_SESSION_SECRET:
ports:
- 3000:3000
<<: *common
keycloak:
image: quay.io/keycloak/keycloak:17.0.0-legacy
environment:
KEYCLOAK_USER:
KEYCLOAK_PASSWORD:
KEYCLOAK_REALM:
DB_VENDOR: mysql
DB_ADDR: "${KEYCLOAK_DB_ADDR}"
DB_DATABASE: "${KEYCLOAK_DB}"
DB_USER: "${KEYCLOAK_DB_USER}"
DB_PASSWORD: "${KEYCLOAK_DB_PASSWORD}"
PROXY_ADDRESS_FORWARDING: "true"
KEYCLOAK_FRONTEND_URL: "https://keycloak.genomics4rd.ca/auth"
AUTH0_BROKER_TOKEN_URL: ${G4RD_TOKEN_URL}
AUTH0_BROKER_MANAGEMENT_API_URL: ${G4RD_AUTH0_BASE_URL}api/v2/
AUTH0_BROKER_CLIENT_ID: ${G4RD_CLIENT_ID} # use same creds as osmp server backend
AUTH0_BROKER_USERNAME: ${G4RD_USERNAME}
AUTH0_BROKER_PASSWORD: ${G4RD_PASSWORD}
AUTH0_GRANT_TYPE: ${G4RD_GRANT_TYPE}
ports:
- 8080:8080
<<: *common