-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
64 lines (61 loc) · 1.99 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
version: '3'
services:
am-org-role-mapping-service:
build:
context: .
image: hmcts/am-org-role-mapping-service
container_name: am-org-role-mapping-service
environment:
- AM_ORG_ROLE_MAPPING_SERVICE_SECRET
- AM_ORG_ROLE_MAPPING_IDAM_KEY
- AM_ORG_ROLE_MAPPING_TOKEN_SECRET
- AM_ORG_ROLE_MAPPING_S2S_AUTHORISED_SERVICES=ccd_gw,am_org_role_mapping_service,am_role_assignment_service
- IDAM_USER_URL
- IDAM_S2S_URL
- ORM_IDAM_CLIENT_ID=am_docker
- ORG_ROLE_MAPPING_IDAM_CLIENT_SECRET= am_docker_secret
- ORG_ROLE_MAPPING_IDAM_ADMIN_PASSWORD=Pa55word11
- CASE_WORKER_REF_APP_URL=http://localhost:4099
- JUDICIAL_REF_APP_URL=http://localhost:8091
- ROLE_ASSIGNMENT_APP_URL=http://localhost:4096
- ORG_ROLE_MAPPING_IDAM_ADMIN_SCOPE=openid profile roles authorities
- app-insights-connection-string
- REFORM_SERVICE_NAME=am-org-role-mapping-service
- REFORM_TEAM=am
- REFORM_ENVIRONMENT=local
- ORG_ROLE_MAPPING_DB_HOST:am-org-role-mapping-database
- ORG_ROLE_MAPPING_DB_NAME:org_role_mapping
- ORG_ROLE_MAPPING_DB_PORT:5432
- ORG_ROLE_MAPPING_DB_USERNAME:am
- ORG_ROLE_MAPPING_DB_PASSWORD:am
ports:
- ${SERVER_PORT:-4098}:${SERVER_PORT:-4098}
networks:
- am-network
depends_on:
- am-org-role-mapping-database
links:
- am-org-role-mapping-database
am-org-role-mapping-database:
build:
context: docker/database
healthcheck:
interval: 10s
timeout: 10s
retries: 10
environment:
- ORG_ROLE_MAPPING_DB_USERNAME=am
- ORG_ROLE_MAPPING_DB_PASSWORD=am
- POSTGRES_HOST_AUTH_METHOD=trust
ports:
- 5452:5432
networks:
- am-network
volumes:
- am-org-role-mapping-database-data:/var/lib/postgresql/am-org-role-mapping/data
volumes:
am-org-role-mapping-database-data:
networks:
am-network:
external: true