charon-distributed-validator-node
charon-distributed-validator-node copied to clipboard
Refactor compose command syntax
🎯 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/