forked from Patrik-Stas/indyscan
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
51 lines (45 loc) · 970 Bytes
/
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
version: '3.5'
services:
mongo:
image: mongo:3.4.18
container_name: indyscan-mongo
networks:
- indynet
volumes:
- indyscandb:/data/db
ports:
- 27999:27017
indyscan:
image: indyscan:latest-local
container_name: indyscan-webapp
networks:
- indynet
depends_on:
- mongo
environment:
- URL_MONGO=mongodb://mongo.indynet:27017
- INDY_NETWORKS=${INDY_NETWORKS}
- WEBAPP_PORT=5050
ports:
- '5050:5050'
indyscan-daemon:
image: indyscan-daemon:latest-local
container_name: indyscan-daemon
volumes:
- ${HOME}/.indy_client/pool:/home/indyscan/.indy_client/pool
network_mode: host
depends_on:
- mongo
environment:
- URL_MONGO=mongodb://localhost:27999
- INDY_NETWORKS=${INDY_NETWORKS}
- SCAN_MODE=${SCAN_MODE}
volumes:
indyscandb:
external: false
indypools:
external: false
networks:
indynet:
name: indynet
driver: bridge