Skip to content

Commit

Permalink
Add missing ports, swappiness and restart directives
Browse files Browse the repository at this point in the history
  • Loading branch information
wmitsuda committed Jun 17, 2022
1 parent e37fcba commit d8c1356
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ropsten.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,29 @@ services:
target: /data
depends_on:
- "erigon"
restart: unless-stopped
mem_swappiness: 0
erigon:
image: otterscan/erigon:v2022.06.04-otterscan
command: erigon --chain=ropsten --datadir=/erigon-data --torrent.download.slots=7 --http --http.api="eth,net,web3,erigon,debug,ots,engine" --ws --http.corsdomain="*" --http.addr="0.0.0.0" --engine.addr="erigon" --http.vhosts='*'
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.04.01-otterscan
ports:
- "3000:80"
depends_on:
- "prysm"
- "erigon"
restart: unless-stopped

7 changes: 7 additions & 0 deletions sepolia.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,21 @@ services:
command: erigon --chain=sepolia --datadir=/erigon-data --torrent.download.slots=7 --http --http.api="eth,net,erigon,ots,engine" --ws --http.corsdomain="*" --http.addr="0.0.0.0" --engine.addr="erigon" --http.vhosts='*'
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.04.01-otterscan
ports:
- "3000:80"
depends_on:
- "erigon"
restart: unless-stopped

0 comments on commit d8c1356

Please sign in to comment.