forked from web3labs/chainlens-free
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
78 lines (68 loc) · 1.38 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
73
74
75
76
77
78
version: "3.6"
#
services:
# app: api
api:
image: web3labs/epirus-free-api:latest
restart: always
environment:
- NODE_ENDPOINT=${NODE_ENDPOINT}
- MONGO_CLIENT_URI=mongodb://mongodb:27017
- REINDEX_ENDPOINT=http://ingestion/reindex/
- MONGO_DB_NAME=epirus
depends_on:
- mongodb
networks:
- epirus
# db:
mongodb:
image: mongo:latest
ports:
- 27017:27017
entrypoint: mongod --logpath=/dev/null --bind_ip "0.0.0.0"
networks:
- epirus
# app: web
web:
image: web3labs/epirus-free-web:latest
restart: always
environment:
- API_URL=/api
depends_on:
- api
networks:
- epirus
# app:
ingestion:
image: web3labs/epirus-free-ingestion:latest
restart: always
environment:
- NODE_ENDPOINT=${NODE_ENDPOINT}
- MONGO_CLIENT_URI=mongodb://mongodb:27017
- MONGO_DB_NAME=epirus
depends_on:
- mongodb
networks:
- epirus
# web ui 访问端口: localhost:16000
nginx:
image: nginx:latest
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
- ./5xx.html:/www/error_pages/5xx.html
ports:
- 16000:80
depends_on:
- api
- web
networks:
- epirus
# net:
networks:
epirus:
name: epirus-net
driver: bridge
ipam:
driver: default
config:
- subnet: 172.16.239.0/24