This repository has been archived by the owner on May 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
116 lines (109 loc) · 2.63 KB
/
docker-compose.yaml
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
version: "3.8"
configs:
genesis.ssz:
file: ${PRYSM_CHECKPOINT}/genesis.ssz
networks:
tethys:
name: tethys
driver: bridge
ipam:
config:
- subnet: 172.16.254.0/28
services:
prysm:
image: gcr.io/prysmaticlabs/prysm/beacon-chain:v3.0.0
restart: unless-stopped
user: "${HOST_UID}:${HOST_GID}"
command: --datadir=/data/sepolia
--rpc-host=0.0.0.0
--monitoring-host=0.0.0.0
--execution-endpoint=http://erigon:8551
--sepolia
--jwt-secret=/erigon-data/sepolia/jwt.hex
--accept-terms-of-use
--genesis-state=/genesis.ssz
--grpc-gateway-host="0.0.0.0"
--grpc-gateway-corsdomain='*'
--checkpoint-sync-url=https://sepolia.checkpoint-sync.ethdevops.io
--genesis-beacon-api-url=https://sepolia.checkpoint-sync.ethdevops.io
networks:
- tethys
ports:
- "3500:3500"
- "13000:13000"
- "12000:12000/udp"
volumes:
- type: bind
source: "${ERIGON_DATA}"
target: /erigon-data
- type: bind
source: "${PRYSM_DATA}"
target: /data
depends_on:
- "erigon"
mem_swappiness: 0
configs:
- genesis.ssz
erigon:
image: otterscan/erigon:v2022.08.03-otterscan
restart: unless-stopped
user: "${HOST_UID}:${HOST_GID}"
command: erigon
--chain=sepolia
--datadir=/erigon-data/sepolia
--torrent.download.slots=7
--http.api="eth,web3,net,erigon,ots"
--ws
--http.corsdomain="*"
--http.addr="0.0.0.0"
--http.vhosts='*'
--authrpc.addr="erigon"
--authrpc.vhosts="erigon"
networks:
- tethys
ports:
- "8545:8545"
- "30303:30303/tcp"
- "30303:30303/udp"
- "42069:42069/tcp"
- "42069:42069/udp"
volumes:
- type: bind
source: "${ERIGON_DATA}"
target: /erigon-data
mem_swappiness: 0
otterscan:
image: otterscan/otterscan:v2022.04.01-otterscan
restart: unless-stopped
networks:
- tethys
ports:
- "3000:80"
depends_on:
- "prysm"
- "erigon"
nats:
build:
context: docker/images/nats
ports:
- "4222:4222" # client connections
- "6222:6222" # routing port for clustering
- "8222:8222" # http management port for information reporting
networks:
- tethys
proxy:
image: 41north/tethys-proxy:dev
restart: unless-stopped
depends_on:
- nats
networks:
- tethys
ports:
- "8080:8080"
command:
- eth
- --log-level=debug
environment:
NATS_URL: ns://nats:4222
ETH_NETWORK_ID: 11155111 # sepolia
ETH_CHAIN_ID: 11155111