forked from GLEIF-IT/vlei-verifier
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
59 lines (56 loc) · 1.43 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
services:
# witnesses:
# # container_name: witnesshost
# # hostname: witnesshost
# image: 2byrds/keripy:latest
# platform: linux/amd64
# tty: true
# volumes:
# - ./scripts/keri/cf/main/:/keripy/scripts/keri/cf/main/
# ports:
# - 5642:5642 # witness
# - 5643:5643 # witness
# - 5644:5644 # witness
# entrypoint: kli witness demo
# vlei:
# image: 2byrds/vlei:latest
# container_name: vlei
# hostname: vlei
# ports:
# - 7723:7723
# environment:
# - PYTHONUNBUFFERED=1
# - PYTHONIOENCODING=UTF-8
# entrypoint: [ "vLEI-server", "-s", "./schema/acdc", "-c" , "./samples/acdc/", "-o", "./samples/oobis/" ]
vlei-verifier:
build:
context: .
dockerfile: ./images/verifier.dockerfile
image: 2byrds/vlei-verifier:latest
container_name: vlei-verifier
hostname: vlei-verifier
# depends_on:
# - vlei
# - witnesses
ports:
- 7676:7676
healthcheck:
test:
- CMD
- curl
- -f
- http://localhost:7676/health
interval: 2s
timeout: 3s
retries: 5
start_period: 2s
deps:
image: alpine
command: ['echo', 'Dependencies running']
depends_on:
# vlei-server:
# condition: service_healthy
vlei-verifier:
condition: service_healthy
# witness-demo:
# condition: service_healthy