charon-distributed-validator-node icon indicating copy to clipboard operation
charon-distributed-validator-node copied to clipboard

Refactor compose command syntax

Open corverroos opened this issue 2 years ago • 0 comments

🎯 Problem to be solved

A user on discord reported that refactoring the docker-compose command syntax for geth and lighthouse and others to an array improves developer experience especially wrt disabling certain flags. https://discord.com/channels/849256203614945310/946519880910385172/1078776267194777810

From:

    command: |
      lighthouse bn
      --network=goerli
      --execution-endpoint=http://geth:8551
      --execution-jwt=/opt/jwt/jwt.hex
      --datadir=/opt/app/beacon/

To:

    command: 
     - lighthouse
     - bn
     - --network=goerli
     - --execution-endpoint=http://geth:8551
     - --execution-jwt=/opt/jwt/jwt.hex
     - --datadir=/opt/app/beacon/

corverroos avatar Feb 27 '23 13:02 corverroos