forked from makerdao/chainlog-ui
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
45 lines (43 loc) · 986 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
version: "3"
services:
ui:
build:
context: .
dockerfile: Dockerfile.ui
image: chainlog-ui
container_name: chainlog-ui
environment:
CHECKSUM_CONTAINER_NAME: checksum
networks:
- chainlog-ui-network
ports:
- "0.0.0.0:8080:80/tcp"
volumes:
- ./api:/usr/share/nginx/html/api
logger:
build:
context: .
dockerfile: Dockerfile.logger
image: chainlog-logger
container_name: chainlog-logger
environment:
INFURA_KEY: $INFURA_KEY
GITHUB_TOKEN: $GITHUB_TOKEN
CHAINLOG_REPO: "gsu-protocol/chainlog-ui"
PYTHONUNBUFFERED: 1
networks:
- chainlog-ui-network
volumes:
- ./api:/usr/app/src/api
checksum:
build:
context: .
dockerfile: Dockerfile.checksum
image: chainlog-checksum
container_name: chainlog-checksum
networks:
- chainlog-ui-network
networks:
chainlog-ui-network:
name: chainlog-ui-network
driver: bridge