This repository has been archived by the owner on May 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.ci.yml
99 lines (94 loc) · 2.73 KB
/
docker-compose.ci.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
# Spin up the dependencies for demo-controller circle ci tests
#
version: '3.5'
networks:
agency-network:
name: agency-network
driver: bridge
ipam:
driver: default
config:
-
subnet: 10.0.0.0/24
services:
protocol-indy-pool:
build:
context: .
dockerfile: resources/indy-pool.dockerfile
args:
pool_ip: '10.0.0.2'
image: dc-indy-pool
container_name: dc-indy-pool
working_dir: /home/indy
ports:
- "9701:9701"
- "9702:9702"
- "9703:9703"
- "9704:9704"
- "9705:9705"
- "9706:9706"
- "9707:9707"
- "9708:9708"
networks:
agency-network:
ipv4_address: 10.0.0.2
protocol-identity-wallet-db:
image: postgres:11
container_name: dc-identity-wallet-db
command: postgres -c logging_collector=on -c log_destination=stderr
volumes:
- ./resources/identity_wallet:/docker-entrypoint-initdb.d/
networks:
- agency-network
depends_on:
- protocol-indy-pool
tty: true
environment:
- POSTGRES_HOST=protocol-identity-wallet-db
- POSTGRES_DB=wallets
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=dbpass
aries-guardianship-agency:
image: kivaprotocol/aries-guardianship-agency:latest
container_name: dc-aries-guardianship-agency
working_dir: /www
ports:
- "3010:3010"
expose:
- "3010"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
networks:
- agency-network
depends_on:
- protocol-indy-pool
tty: true
privileged: true
environment:
- NODE_ENV=LOCAL
- PUBLIC_URL=http://aries-guardianship-agency:3010
- WALLET_DB_HOST=protocol-identity-wallet-db
- WALLET_DB_PORT=5432
- WALLET_DB_USER=postgres
- WALLET_DB_PASS=dbpass
- WALLET_DB_ADMIN_USER=postgres
- WALLET_DB_ADMIN_PASS=dbpass
- ACAPY_ADMIN_API_KEY=adminApiKey
demo-controller:
image: kivaprotocol/aries-controller:latest
container_name: demo-controller
working_dir: /www
ports:
- "3014:3014"
networks:
- agency-network
depends_on:
- protocol-indy-pool
tty: true
environment:
- NODE_ENV=LOCAL
- MULTI_AGENT=false
- MULTI_CONTROLLER=true
- PORT=3014
- SELF_URL=http://demo-controller:3014
- ADMIN_API_KEY=adminApiKey