mirror of
https://github.com/farcasterxyz/hub-monorepo.git
synced 2026-04-18 03:00:22 -04:00
* feat: limit logs to 7gb when run with docker compose * feat(hubble): reduce log files to 2x1GB in docker compose --------- Co-authored-by: Varun Srinivasan <varunsrin@gmail.com>
19 lines
613 B
YAML
19 lines
613 B
YAML
version: '3.9'
|
|
|
|
services:
|
|
hubble:
|
|
image: farcasterxyz/hubble:latest
|
|
restart: unless-stopped
|
|
command: ["yarn", "start", "--ip", "0.0.0.0", "--gossip-port", "2282", "--rpc-port", "2283", "--eth-rpc-url", "$ETH_RPC_URL", "--eth-mainnet-rpc-url", "$ETH_MAINNET_RPC_URL", "--network", "$FC_NETWORK_ID", "-b", "$BOOTSTRAP_NODE"]
|
|
ports:
|
|
- '2282:2282' # Gossip
|
|
- '2283:2283' # RPC
|
|
volumes:
|
|
- ./.hub:/home/node/app/apps/hubble/.hub
|
|
- ./.rocks:/home/node/app/apps/hubble/.rocks
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-size: "1g"
|
|
max-file: "2"
|