-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdocker-compose.yml
76 lines (63 loc) · 2.23 KB
/
docker-compose.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
version: "3.8"
x-stub-image-name: &stub-image-name di-authentication-frontend/di-auth-stub:latest
services:
redis:
image: redis:6.0.5-alpine
ports:
- "${REDIS_PORT:-6379}:6379"
networks:
- di-net
di-auth-stub-default:
image: *stub-image-name
pull_policy: never
build:
context: .
dockerfile: Dockerfile-stub
ports:
- "${DOCKER_STUB_DEFAULT_PORT:-2000}:${DOCKER_STUB_DEFAULT_PORT:-2000}"
environment:
ENVIRONMENT: ${ENVIRONMENT:?this should be set in your .env file.}
API_BASE_URL: ${API_BASE_URL:?this should be set in your .env file.}
FRONTEND_API_BASE_URL: ${FRONTEND_API_BASE_URL:?this should be set in your .env file.}
TEST_CLIENT_ID: ${TEST_CLIENT_ID:?this should be set in your .env file.}
STUB_HOSTNAME: ${STUB_HOSTNAME:?this should be set in your .env file.}
UI_LOCALES: ${UI_LOCALES:-}
PORT: ${DOCKER_STUB_DEFAULT_PORT:-2000}
FRONTEND_PORT: ${DOCKER_FRONTEND_PORT:-3000}
restart: on-failure
networks:
- di-net
di-auth-stub-no-mfa:
image: *stub-image-name
pull_policy: never
ports:
- "${DOCKER_DOCKER_STUB_NO_MFA_PORT:-5000}:${DOCKER_DOCKER_STUB_NO_MFA_PORT:-5000}"
environment:
ENVIRONMENT: ${ENVIRONMENT:?this should be set in your .env file.}
API_BASE_URL: ${API_BASE_URL:?this should be set in your .env file.}
FRONTEND_API_BASE_URL: ${FRONTEND_API_BASE_URL:?this should be set in your .env file.}
TEST_CLIENT_ID: ${TEST_CLIENT_ID:?this should be set in your .env file.}
STUB_HOSTNAME: ${STUB_HOSTNAME:?this should be set in your .env file.}
UI_LOCALES: ${UI_LOCALES:-}
VTR: ${VTR:-["Cl"]}
PORT: ${DOCKER_DOCKER_STUB_NO_MFA_PORT:-5000}
FRONTEND_PORT: ${DOCKER_FRONTEND_PORT:-3000}
restart: on-failure
networks:
- di-net
di-auth-stub-orchstub:
image: *stub-image-name
pull_policy: never
ports:
- "${DOCKER_DOCKER_STUB_ORCHSTUB_PORT:-3002}:${DOCKER_DOCKER_STUB_ORCHSTUB_PORT:-3002}"
environment:
PORT: ${DOCKER_DOCKER_STUB_ORCHSTUB_PORT:-3002}
DEPLOYMENT_NAME: ${DEPLOYMENT_NAME}
command:
- yarn
- dummy-server-orchstub
restart: on-failure
networks:
- di-net
networks:
di-net: