forked from augmented-finance/augmented-finance-protocol
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (37 loc) · 907 Bytes
/
docker-compose.yml
File metadata and controls
38 lines (37 loc) · 907 Bytes
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
version: '3.5'
services:
hardhat-node:
build: ./
environment:
ALCHEMY_KEY: ${ALCHEMY_KEY:?err}
MAINNET_FORK: "true"
ports:
- 8545:8545
healthcheck:
test: "bash -c '</dev/tcp/localhost/8545' 2>/dev/null"
interval: 20s
augmented:
build: ./
environment:
MAINNET_FORK: "true"
command: bash -c "yarn hardhat augmented:mainnet --network docker && cp ui-config.json /opt/www/ui-config.json"
volumes:
- www:/opt/www
depends_on:
hardhat-node:
condition: service_healthy
www:
image: nginx:stable
ports:
- 8080:80
volumes:
- www:/usr/share/nginx/html
- ./nginx.conf:/etc/nginx/conf.d/default.conf
explorer:
image: alethio/ethereum-lite-explorer
ports:
- 8085:80
environment:
APP_NODE_URL: "http://${PUBLIC_IP:-localhost}:8545"
volumes:
www: