mirror of
https://github.com/wmitsuda/one-liner-archive.git
synced 2026-01-10 22:28:15 -05:00
45 lines
1.5 KiB
YAML
45 lines
1.5 KiB
YAML
services:
|
|
prysm:
|
|
image: gcr.io/prysmaticlabs/prysm/beacon-chain:v3.1.1
|
|
command: --datadir=/data --rpc-host=0.0.0.0 --monitoring-host=0.0.0.0 --execution-endpoint=http://erigon:8551 --jwt-secret=/erigon-data/jwt.hex --accept-terms-of-use --grpc-gateway-host="0.0.0.0" --grpc-gateway-corsdomain='*' --checkpoint-sync-url=https://beaconstate.info/ --genesis-beacon-api-url=https://beaconstate.info/
|
|
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"
|
|
restart: unless-stopped
|
|
mem_swappiness: 0
|
|
erigon:
|
|
image: otterscan/erigon:v2022.09.03-otterscan
|
|
command: erigon --datadir=/erigon-data --torrent.download.slots=7 --http.api="eth,net,erigon,ots" --ws --http.corsdomain="*" --http.addr="0.0.0.0" --http.vhosts='*' --authrpc.addr="erigon" --authrpc.vhosts="erigon"
|
|
ports:
|
|
- "8545:8545"
|
|
- "30303:30303/tcp"
|
|
- "30303:30303/udp"
|
|
- "42069:42069/tcp"
|
|
- "42069:42069/udp"
|
|
volumes:
|
|
- type: bind
|
|
source: "${ERIGON_DATA}"
|
|
target: /erigon-data
|
|
restart: unless-stopped
|
|
mem_swappiness: 0
|
|
otterscan:
|
|
image: otterscan/otterscan:v2022.08.03-otterscan
|
|
environment:
|
|
- BEACON_API_URL=http://localhost:3500
|
|
ports:
|
|
- "3000:80"
|
|
depends_on:
|
|
- "prysm"
|
|
- "erigon"
|
|
restart: unless-stopped
|