Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If you'd love to see a docker-compose example in our docs, click ❤️ #663

Open
symbolpunk opened this issue Nov 4, 2022 · 0 comments

Comments

@symbolpunk
Copy link
Contributor

Our current docker docs don't include docker-compose instructions, as recently suggested by Gs over on Discord (thank you again!). Their suggestion included an example:

version: "3.6"
services:
  beacon-node-mainnet:
    command: --datadir=/data --rpc-host=0.0.0.0 --monitoring-host=0.0.0.0 --execution-endpoint=<YOUR_ETH_EXECUTION_NODE_ENDPOINT> --jwt-secret <YOUR_JWT_SECRET> --p2p-max-peers 45 --block-batch-limit 64
    container_name: beacon-node-mainnet
    entrypoint:
      - /app/cmd/beacon-chain/beacon-chain
    image: gcr.io/prysmaticlabs/prysm/beacon-chain:stable
    network_mode: bridge
    ports:
      - 12000:12000/udp
      - 13000:13000/tcp
      - 4000:4000/tcp
      - 8080:8080/tcp
    restart: unless-stopped
    stdin_open: true
    tty: true
    user: root
    volumes:
      - datadir:/data
    stop_grace_period: 1m30s

stefa2k.eth provided some additional examples here later in the Discord discussion.

If you'd love to see docker-compose examples in our docs, clicking ❤️ will help us understand how much of a need there is for this content. Thank you 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant