-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
68 lines (65 loc) · 1.31 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
version: '3'
networks:
jcard:
services:
holder:
depends_on:
- issuer
build:
context: .
dockerfile: holder/Dockerfile
container_name: holder
image: holder:latest
restart: unless-stopped
ports:
- "8080:8080"
volumes:
- /dev/urandom:/dev/random
- holder:/home/app
entrypoint: "/home/app/holder"
environment:
- PRIVATE_KEY=<PRIVATE_KEY>
networks:
jcard:
aliases:
- holder.local
issuer:
build:
context: .
dockerfile: issuer/Dockerfile
container_name: issuer
image: issuer:latest
restart: unless-stopped
volumes:
- /dev/urandom:/dev/random
- issuer:/home/app
entrypoint: "/home/app/issuer"
environment:
- PRIVATE_KEY=<PRIVATE_KEY>
networks:
jcard:
aliases:
- issuer.local
verifier:
build:
context: .
dockerfile: verifier/Dockerfile
container_name: verifier
image: verifier:latest
restart: unless-stopped
ports:
- "9090:9090"
volumes:
- /dev/urandom:/dev/random
- verifier:/home/app
entrypoint: "/home/app/issuer"
environment:
- DOMAIN_NAME=http://localhost:9090
networks:
jcard:
aliases:
- verifier.local
volumes:
holder:
issuer:
verifier: