-
Notifications
You must be signed in to change notification settings - Fork 268
/
docker-compose.yml
57 lines (55 loc) · 1.45 KB
/
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
51
52
53
54
55
56
57
services:
ethereum:
image: aztecprotocol/build:2.0
entrypoint: >
sh -c '
exec anvil --silent -p 8545 --host 0.0.0.0 --chain-id 31337
'
environment:
RAYON_NUM_THREADS: 1
volumes:
- ../:/root/aztec-packages
aztec:
image: aztecprotocol/build:2.0
tty: true
volumes:
- ../:/root/aztec-packages
working_dir: /root/aztec-packages/yarn-project/aztec
command: "node ./dest/bin start --sandbox"
environment:
ETHEREUM_HOST: http://ethereum:8545
L1_CHAIN_ID: 31337
ARCHIVER_POLLING_INTERVAL_MS: 50
P2P_BLOCK_CHECK_INTERVAL_MS: 50
SEQ_TX_POLLING_INTERVAL_MS: 50
WS_BLOCK_CHECK_INTERVAL_MS: 50
ARCHIVER_VIEM_POLLING_INTERVAL_MS: 500
healthcheck:
test: ["CMD", "curl", "-fSs", "http://127.0.0.1:8080/status"]
interval: 3s
timeout: 30s
start_period: 120s
depends_on:
- ethereum
boxes:
image: aztecprotocol/build:2.0
tty: true
volumes:
- ../:/root/aztec-packages
working_dir: /root/aztec-packages/boxes
entrypoint: >
sh -c '
yarn workspace @aztec/$$BOX test --project=$$BROWSER
'
environment:
DEBUG: "aztec:*"
DEBUG_COLORS: "true"
ETHEREUM_HOST: http://ethereum:8545
L1_CHAIN_ID: 31337
PXE_URL: http://aztec:8080
BOX: ${BOX:-vanilla}
CI: ${CI:-}
BROWSER: ${BROWSER:-chromium}
depends_on:
aztec:
condition: service_healthy