forked from ProjectEKA/consent-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
63 lines (63 loc) · 1.71 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
version: '3'
services:
consent-manager:
build: .
ports:
- "9010:8000"
environment:
- Auth_Token=${TOKEN}
- Client_Registry_Url=${Client_Registry_Url}
- CENTRAL_REGISTRY_JWK_URL=${Client_Registry_Url}/certs
- CENTRAL_REGISTRY_ID=${CLIENT_ID}
- Otp_Service_Url=http://otp
- User_Service_Url=http://consent-manager:8000
- POSTGRES_HOST=db
- POSTGRES_PORT=5432
- CONSENT_MANAGER_DB_NAME=consent_manager
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=welcome
- DB_CONNECTION_POOL_SIZE=10
- JWT_SECRET=secret
- KEY_CLOAK_URL=http://keycloak:8080/auth
- KEY_CLOAK_CONSENT_CLIENT_ID=consent-service
- KEY_CLOAK_CONSENT_CLIENT_SECRET=${SECRET}
- KEY_CLOAK_CONSENT_USER_NAME=consent-service-admin-user
- KEY_CLOAK_CONSENT_PASSWORD=${PASSWORD}
- KEY_CLOAK_JWK_URL=http://keycloak:8080/auth/realms/consent-manager/protocol/openid-connect/certs
- KEY_CLOAK_TOKEN_ISSUER=http://keycloak:8080/auth/realms/consent-manager
- RABBITMQ_HOST=rabbitmq
- RABBITMQ_PORT=5672
- MAX_PAGE_SIZE=10
- DEFAULT_PAGE_SIZE=10
depends_on:
- db
- otp
- rabbitmq
- keycloak
otp:
image: "ganesan92/otp-service"
depends_on:
- db
ports:
- "5000:80"
db:
image: "postgres:latest"
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=welcome
ports:
- "5432:5432"
volumes:
- postgresql:/var/lib/postgresql
- postgresql_data:/var/lib/postgresql/data
rabbitmq:
image: "rabbitmq:3"
ports:
- "5672:5672"
keycloak:
image: "jboss/keycloak"
ports:
- "8080:8080"
volumes:
postgresql:
postgresql_data: