-
Notifications
You must be signed in to change notification settings - Fork 98
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
82 lines (75 loc) · 2.63 KB
/
Copy pathdocker-compose.yml
File metadata and controls
82 lines (75 loc) · 2.63 KB
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
77
78
79
80
81
82
version: '3.8'
services:
minio:
container_name: 'minio-service'
image: mosipint/minio:2022.2.7-debian-10-r0
ports:
- "9001:9001"
- "9000:9000"
environment:
MINIO_ROOT_USER: minioadmin # Access Key
MINIO_ROOT_PASSWORD: minioadmin # Secret Key
datashare:
container_name: 'datashare-service'
image: mosipid/data-share-service:1.3.0-beta.2
ports:
- "8097:8097"
environment:
- active_profile_env=inji-default,standalone
- SPRING_CONFIG_NAME=data-share
- SPRING_CONFIG_LOCATION=/home/mosip/
- DATASHARE_DOMAIN=datashare-service:8097
volumes:
- ./config/data-share-inji-default.properties:/home/mosip/data-share-inji-default.properties
- ./config/data-share-standalone.properties:/home/mosip/data-share-standalone.properties
depends_on:
- minio
nginx:
container_name: nginx
image: nginx:alpine
ports:
- '80:80'
volumes:
- ./config/mimoto-issuers-config.json:/config/server/mimoto-issuers-config.json
- ./config/mimoto-trusted-verifiers.json:/config/server/mimoto-trusted-verifiers.json
- ./config/credential-template.html:/config/server/credential-template.html
- ./nginx.conf:/etc/nginx/nginx.conf
postgres:
image: 'postgres:latest'
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
ports:
- "5432:5432"
volumes:
- postgres-data:/var/lib/postgresql
- ./mimoto_init.sql:/docker-entrypoint-initdb.d/mimoto_init.sql
mimoto-service:
container_name: 'mimoto-service'
image: 'injistack/mimoto:0.22.0'
user: root
ports:
- '8099:8099'
environment:
- container_user=mosip
- active_profile_env=default
- SPRING_CONFIG_NAME=mimoto
- SPRING_CONFIG_LOCATION=/home/mosip/
- SPRING_CLOUD_BOOTSTRAP_LOCATION=/home/mosip/mimoto-bootstrap.properties
- oidc_p12_password=dummypassword
- SPRING_DATASOURCE_URL=jdbc:postgresql://postgres:5432/inji_mimoto
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- GOOGLE_OAUTH_CLIENT_ID=clientId
- GOOGLE_OAUTH_CLIENT_SECRET=clientSecret
volumes:
- ./config/mimoto-default.properties:/home/mosip/mimoto-default.properties
- ./config/mimoto-bootstrap.properties:/home/mosip/mimoto-bootstrap.properties
- ./config/mimoto-issuers-config.json:/home/mosip/mimoto-issuers-config.json
- ./config/mimoto-trusted-verifiers.json:/home/mosip/mimoto-trusted-verifiers.json
- ./certs/oidckeystore.p12:/home/mosip/certs/oidckeystore.p12
depends_on:
- datashare
- postgres
volumes:
postgres-data: