-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaztec-sequencer.yml
More file actions
59 lines (56 loc) · 1.51 KB
/
aztec-sequencer.yml
File metadata and controls
59 lines (56 loc) · 1.51 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
51
52
53
54
55
56
57
58
59
x-logging: &logging
logging:
driver: json-file
options:
max-size: 100m
max-file: "3"
tag: '{{.ImageName}}|{{.Name}}|{{.ImageFullID}}|{{.FullID}}'
services:
aztec-sequencer:
image: "aztecprotocol/aztec:latest"
restart: always
environment:
ARCHIVER_BATCH_SIZE: 3
DATA_DIRECTORY: /var/lib/data
LOG_LEVEL: ${LOG_LEVEL}
ETHEREUM_HOSTS: ${EL_NODE}
L1_CONSENSUS_HOST_URLS: ${CL_NODE}
P2P_IP: ${P2P_IP}
P2P_PORT: ${P2P_PORT}
AZTEC_PORT: ${AZTEC_PORT}
KEY_STORE_DIRECTORY: /var/lib/keystores
volumes:
- aztec-node-data:/var/lib/data
- ./.aztec/keystores:/var/lib/keystores
ports:
- ${AZTEC_PORT:-8080}:${AZTEC_PORT:-8080}
- ${P2P_PORT:-40400}:${P2P_PORT:-40400}
- ${P2P_PORT:-40400}:${P2P_PORT:-40400}/udp
networks:
default:
aliases:
- aztec-sequencer
# This allows multiple Eth Docker stacks all connected to the same bridge network
- ${AZTEC_SEQUENCER_ALIAS:-default-aztec-sequencer}
<<: *logging
entrypoint: >-
node
--no-warnings
/usr/src/yarn-project/aztec/dest/bin/index.js
start
--node
--archiver
--sequencer
--network testnet
# labels:
# - metrics.scrape=true
# - metrics.path=/metrics
# - metrics.port=6060
# - metrics.instance=execution
# - metrics.network=${NETWORK}
volumes:
aztec-node-data:
aztec-keystore-data:
networks:
default:
enable_ipv6: ${IPV6:-false}