This commit is contained in:
Sebastian
2024-02-07 02:20:27 +01:00
parent 512d884b04
commit c7c91b33f1

View File

@@ -0,0 +1,40 @@
version: '3.1'
services:
arbitrum-sepolia-fullnode:
image: 'offchainlabs/nitro-node:v2.2.2-8f33fea'
restart: always
stop_grace_period: 30s
user: root
volumes:
- 'arbitrum-sepolia-fullnode_data:/arbitrum-node'
expose:
- 8547 # http + ws
command:
- --init.url=https://snapshot.arbitrum.foundation/sepolia/nitro-pruned.tar
- --node.staker.enable=false
- --persistent.chain=/arbitrum-node/data/
- --persistent.global-config=/arbitrum-node/
- --parent-chain.connection.url=${ARBITRUM_SEPOLIA_URL}
- --chain.id=421614
- --http.api=net,web3,eth,debug
- --http.corsdomain=*
- --http.addr=0.0.0.0
- --http.vhosts=*
- --ws.port=8547
- --ws.addr=0.0.0.0
- --ws.origins=*
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.arbitrum-sepolia-stripprefix.stripprefix.prefixes=/arbitrum-sepolia-fullnode"
- "traefik.http.services.arbitrum-sepolia.loadbalancer.server.port=8547"
- "traefik.http.routers.arbitrum-sepolia.entrypoints=websecure"
- "traefik.http.routers.arbitrum-sepolia.tls.certresolver=myresolver"
- "traefik.http.routers.arbitrum-sepolia.rule=Host(`$DOMAIN`) && PathPrefix(`/arbitrum-sepolia-fullnode`)"
- "traefik.http.routers.arbitrum-sepolia.middlewares=arbitrum-sepolia-stripprefix, ipwhitelist"
networks:
- chains
volumes:
arbitrum-sepolia-fullnode_data: