-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
50 lines (46 loc) · 1.04 KB
/
Copy pathdocker-compose.yml
File metadata and controls
50 lines (46 loc) · 1.04 KB
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
services:
anvil:
image: ghcr.io/foundry-rs/foundry:latest
network_mode: host
command: anvil -a 0.0.0.0 -p 8545
environment:
- ANVIL_IP_ADDR=0.0.0.0
dashboard:
build:
context: ./dashboard
dockerfile: Dockerfile
network_mode: host
volumes:
- shared-data:/shared
environment:
- ETH_RPC_URL=http://127.0.0.1:8545
- PRIVATE_KEY=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
depends_on:
- anvil
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
network: host
args:
NEXT_PUBLIC_API_URL: http://localhost:3001
network_mode: host
depends_on:
- backend
backend:
build:
context: ./backend
dockerfile: Dockerfile
network: host
network_mode: host
volumes:
- shared-data:/shared
environment:
- PORT=3001
- HOST=0.0.0.0
- ETH_RPC_URL=http://127.0.0.1:8545
- DASHBOARD_URL=http://127.0.0.1:3002
depends_on:
- anvil
volumes:
shared-data: