-
Notifications
You must be signed in to change notification settings - Fork 10
/
docker-compose.yml
72 lines (68 loc) · 2.16 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
# networks:
# websnet:
services:
witnesshost:
container_name: witnesshost
hostname: witnesshost
image: weboftrust/keri:1.1.21
platform: linux/amd64
tty: true
volumes:
- ./volume/witnesshost/keripy/scripts/keri/cf/main/:/keripy/scripts/keri/cf/main/
ports:
- 5642:5642 # witness
- 5643:5643 # witness
- 5644:5644 # witness
entrypoint: kli witness demo
# networks:
# - websnet
webs:
container_name: webs
hostname: webs
build:
context: .
dockerfile: ./images/webs.dockerfile
image: 2byrds/webs:latest
entrypoint: tail -f /dev/null
tty: true
volumes:
- ./volume/dkr/examples:/usr/local/var/webs/volume/dkr/examples
- ./volume/dkr/pages:/usr/local/var/webs/volume/dkr/pages
# networks:
# - websnet
did-webs-service:
container_name: did-webs-service
hostname: did-webs-service
build:
context: .
dockerfile: ./images/did-webs-service.dockerfile
depends_on:
- webs
image: did-webs-service:latest
ports:
- 7676:7676
tty: true
volumes:
- ./volume/dkr/examples:/usr/local/var/webs/volume/dkr/examples
- ./volume/dkr/pages:/usr/local/var/webs/volume/dkr/pages
# networks:
# - websnet
entrypoint: tail -f /dev/null
# entrypoint: dkr did webs service --name webserve --config-dir /usr/local/var/webs/volume/dkr/examples/my-scripts --config-file config-docker
did-webs-resolver:
container_name: did-webs-resolver
hostname: did-webs-resolver
build:
context: .
dockerfile: ./images/did-webs-resolver-service.dockerfile
image: did-webs-resolver:latest
ports:
- 7677:7677
tty: true
volumes:
- ./volume/dkr/examples:/usr/local/var/webs/volume/dkr/examples
depends_on:
- webs
entrypoint: tail -f /dev/null
# networks:
# - websnet