fit for the future
This commit is contained in:
50
moonriver-archive-trace.yml
Normal file
50
moonriver-archive-trace.yml
Normal file
@@ -0,0 +1,50 @@
|
||||
version: '3.1'
|
||||
|
||||
services:
|
||||
moonriver-archive-trace:
|
||||
image: moonbeamfoundation/moonbeam-tracing:v0.43.0-3501-latest
|
||||
user: root
|
||||
volumes:
|
||||
- ${MOONRIVER_ARCHIVE_TRACE_DATA:-moonriver-archive-trace}:/data
|
||||
expose:
|
||||
- 9944 # rpc + ws para
|
||||
- 9945 # rpc + ws relay
|
||||
- 9615 # prometheus para
|
||||
- 9616 # prometheus relay
|
||||
ports:
|
||||
- "22057:22057"
|
||||
- "51555:51555"
|
||||
restart: unless-stopped
|
||||
command: >
|
||||
--rpc-cors all
|
||||
--unsafe-ws-external
|
||||
--unsafe-rpc-external
|
||||
--trie-cache-size 1073741824
|
||||
--base-path=/data
|
||||
--chain moonriver
|
||||
--state-pruning archive
|
||||
--db-cache ${MOONRIVER_ARCHIVE_TRACE_DB_CACHE_MB:-2000}
|
||||
--ethapi=debug,trace,txpool
|
||||
--wasm-runtime-overrides=/moonbeam/moonriver-substitutes-tracing
|
||||
--runtime-cache-size 64
|
||||
--port 22057
|
||||
--
|
||||
--execution wasm
|
||||
--no-private-ip
|
||||
--no-mdns
|
||||
--port 51555
|
||||
stop_grace_period: 1m
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.middlewares.moonriver-stripprefix.stripprefix.prefixes=/moonriver-archive"
|
||||
- "traefik.http.services.moonriver.loadbalancer.server.port=9944"
|
||||
- "${NO_SSL:-traefik.http.routers.moonriver.entrypoints=websecure}"
|
||||
- "${NO_SSL:-traefik.http.routers.moonriver.tls.certresolver=myresolver}"
|
||||
- "${NO_SSL:-traefik.http.routers.moonriver.rule=Host(`$DOMAIN`) && PathPrefix(`/moonriver-archive`)}"
|
||||
- "${NO_SSL:+traefik.http.routers.moonriver.rule=PathPrefix(`/moonriver-archive`)}"
|
||||
- "traefik.http.routers.moonriver.middlewares=moonriver-stripprefix, ipwhitelist"
|
||||
networks:
|
||||
- chains
|
||||
|
||||
volumes:
|
||||
moonriver-archive-trace:
|
||||
Reference in New Issue
Block a user