-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
120 lines (112 loc) · 3.39 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
services:
valkey:
image: valkey/valkey:7.2.5
restart: unless-stopped
labels:
traefik.enable: false
backend:
build:
context: ./
dockerfile: ./backend/Dockerfile
args:
REACT_APP_ISSUERS_GOVERNMENT_DID: ${ISSUERS_GOVERNMENT_DID}
REACT_APP_ISSUERS_COMPANY_HOUSE_DID: ${ISSUERS_COMPANY_HOUSE_DID}
expose:
- '3000'
- '50051'
ports:
- "127.0.0.1:3000:3000/tcp"
# depends_on:
# - valkey
# - identity
restart: unless-stopped
environment:
ISSUERS_GOVERNMENT_DID: ${ISSUERS_GOVERNMENT_DID}
ISSUERS_GOVERNMENT_FRAGMENT: ${ISSUERS_GOVERNMENT_FRAGMENT}
ISSUERS_COMPANY_HOUSE_DID: ${ISSUERS_COMPANY_HOUSE_DID}
ISSUERS_COMPANY_HOUSE_FRAGMENT: ${ISSUERS_COMPANY_HOUSE_FRAGMENT}
identity:
image: iotaledger/identity-grpc:alpha
restart: unless-stopped
environment:
- API_ENDPOINT=https://api.testnet.shimmer.network
- SNAPSHOT_PATH=/stronghold.hodl
- STRONGHOLD_PWD_FILE=/run/secrets/stronghold_pwd
volumes:
- ./data/stronghold.hodl:/stronghold.hodl:ro
expose:
- '50051'
labels:
traefik.enable: false
secrets:
- stronghold_pwd
oid4vc-tanglelabs:
build:
context: ./
dockerfile: ./oid4vc/TangleLabs/Dockerfile
restart: unless-stopped
environment:
RP_DID: ${ISSUERS_GOVERNMENT_DID}
SIGNER_KEYID: ${ISSUERS_GOVERNMENT_KEYID}
KEY_FRAGMENT: ${ISSUERS_GOVERNMENT_FRAGMENT}
PUBLIC_URL: ${GOVERNMENT_PUBLIC_URL}
expose:
- '3333'
- '50051'
ports:
- "127.0.0.1:3333:3333/tcp"
volumes:
- ./shared:/usr/shared
# oid4vc-waltid:
# build:
# context: ./
# dockerfile: ./oid4vc/walt.id/Dockerfile
# restart: unless-stopped
# expose:
# - '3000'
# - '50051'
# ports:
# - "127.0.0.1:3001:3000/tcp"
# volumes:
# - ./shared:/usr/shared
oid4vc-impierce:
image: impiercetechnologies/ssi-agent:fd8ed66
depends_on:
- cqrs-postgres-db
restart: unless-stopped
expose:
- '3033'
ports:
- "127.0.0.1:3033:3033/tcp"
volumes:
- ./shared:/usr/shared
- ./data/stronghold.hodl:/stronghold.hodl:ro
- ./oid4vc/impierce/config.yml:/app/agent_application/config.yaml:ro
- ./data/tmp:/app/agent_api_rest
entrypoint: [ '/bin/sh', '-c', 'export UNICORE__SECRET_MANAGER__STRONGHOLD_PASSWORD=$$(cat /run/secrets/stronghold_pwd) ; /usr/local/bin/agent_application' ]
environment:
UNICORE__URL: ${COMPANY_HOUSE_PUBLIC_URL}
UNICORE__SECRET_MANAGER__STRONGHOLD_PATH: /stronghold.hodl
UNICORE__SECRET_MANAGER__ISSUER_ES256_KEY_ID: ${ISSUERS_COMPANY_HOUSE_KEYID}
UNICORE__SECRET_MANAGER__ISSUER_DID: ${ISSUERS_COMPANY_HOUSE_DID}
UNICORE__SECRET_MANAGER__ISSUER_FRAGMENT: ${ISSUERS_COMPANY_HOUSE_FRAGMENT}
UNICORE__CORS_ENABLED: true
#UNICORE__LOG_FORMAT: json
UNICORE__EVENT_STORE__CONNECTION_STRING: postgresql://demo_user:demo_pass@cqrs-postgres-db:5432/demo
#RUST_LOG: debug
secrets:
- stronghold_pwd
cqrs-postgres-db:
image: postgres
restart: unless-stopped
expose:
- 5432
environment:
POSTGRES_DB: demo
POSTGRES_USER: demo_user
POSTGRES_PASSWORD: demo_pass
volumes:
- "./oid4vc/impierce/db:/docker-entrypoint-initdb.d"
secrets:
stronghold_pwd:
file: data/stronghold_secret.txt