forked from m0-foundation/ttg-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
50 lines (48 loc) · 971 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
version: "3.8"
services:
hardhat:
container_name: hardhat
image: mzero/hardhat
ports:
- "8545:8545"
build:
context: .
command: yarn hardhat
volumes:
- .:/usr/src/app
- /usr/src/app/node_modules
rpc-proxy:
container_name: rpc-proxy
image: mzero/rpc-proxy
build:
dockerfile: Dockerfile.rpc-proxy
ssh:
- default
ports:
- "3005:3005"
environment:
- PORT=3005
- HTTP_RPC_URL=http://hardhat:8545/
- WS_RPC_URL=ws://hardhat:8545/
- TTL_SECONDS=30
- BUILD_ENV=local
- LOG_CACHE_STATUS=true
depends_on:
- hardhat
nuxt-dev:
build:
context: .
image: mzero/spog
container_name: spog
command: yarn dev
env_file:
- .env.development
volumes:
- .:/usr/src/app
- /usr/src/app/node_modules
ports:
- "3000:3000"
- "24678:24678"
depends_on:
- hardhat
- rpc-proxy