-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcompose.yml
37 lines (33 loc) · 965 Bytes
/
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
version: '3.8'
name: efp-contracts
networks:
default:
driver: bridge
services:
anvil:
container_name: efp-contracts-anvil
image: ghcr.io/foundry-rs/foundry:latest
command: anvil
tty: true
environment:
- ANVIL_IP_ADDR=0.0.0.0
ports:
- 8545:8545
networks:
- default
contracts:
container_name: efp-contracts
restart: no
build:
context: .
dockerfile: Dockerfile
command: bun launch:localhost
environment:
- ETHEREUM_LOCAL_NODE_URL=${ETHEREUM_LOCAL_NODE_URL:-http://host.docker.internal:8545}
- ANVIL_ACCOUNT_PRIVATE_KEY=${ANVIL_ACCOUNT_PRIVATE_KEY:-0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80}
- PRIVATE_KEY=${PRIVATE_KEY:-0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80}
- MINT_TOTAL_SUPPLY=${MINT_TOTAL_SUPPLY:-100}
- FORGE_ARGS=${FORGE_ARGS:-}
network_mode: host
stdin_open: true
tty: true