|
| 1 | +# Override any defaults specified by `${FOO:-bar}` in `.env` with `FOO=qux`. |
| 2 | +# ${VARIABLE:-default} evaluates to default if VARIABLE is unset or empty in the environment. |
| 3 | +# ${VARIABLE-default} evaluates to default only if VARIABLE is unset in the environment. |
| 4 | + |
| 5 | +services: |
| 6 | + # _ _ |
| 7 | + # __ _ _ __ __ _ _ __ __| (_)_ __ ___ |
| 8 | + # / _` | '__/ _` | '_ \ / _` | | '_ \ / _ \ |
| 9 | + # | (_| | | | (_| | | | | (_| | | | | | __/ |
| 10 | + # \__, |_| \__,_|_| |_|\__,_|_|_| |_|\___| |
| 11 | + # |___/ |
| 12 | + |
| 13 | + cl-grandine: |
| 14 | + profiles: [cl_grandine] |
| 15 | + image: sifrai/grandine:${GRANDINE_VERSION:-1.1.1} |
| 16 | + restart: unless-stopped |
| 17 | + command: |
| 18 | + - --datadir=/root/.grandine |
| 19 | + - --eth1-rpc-urls=http://el-${EL}:8551 |
| 20 | + - --jwt-secret=/jwt |
| 21 | + - --http-address=0.0.0.0 |
| 22 | + - --http-port=5052 |
| 23 | + - --network=${NETWORK} |
| 24 | + - --metrics |
| 25 | + - --metrics-port=5054 |
| 26 | + - --metrics-address=0.0.0.0 |
| 27 | + - --checkpoint-sync-url=${LIGHTHOUSE_CHECKPOINT_SYNC_URL} |
| 28 | + - --builder=http://mev-${MEV}:18550 |
| 29 | + ports: |
| 30 | + - 9000:9000 # TCP + UDP LibP2P |
| 31 | + volumes: |
| 32 | + - ./data/grandine:/root/.grandine |
| 33 | + - ./jwt:/jwt:ro |
| 34 | + networks: |
| 35 | + - dvnode |
| 36 | + |
| 37 | + # _ _ _ _ _ |
| 38 | + # | (_) __ _| |__ | |_| |__ ___ _ _ ___ ___ |
| 39 | + # | | |/ _` | '_ \| __| '_ \ / _ \| | | / __|/ _ \ |
| 40 | + # | | | (_| | | | | |_| | | | (_) | |_| \__ \ __/ |
| 41 | + # |_|_|\__, |_| |_|\__|_| |_|\___/ \__,_|___/\___| |
| 42 | + # |___/ |
| 43 | + |
| 44 | + cl-lighthouse: |
| 45 | + profiles: [cl_lighthouse] |
| 46 | + image: sigp/lighthouse:${LIGHTHOUSE_VERSION:-v7.0.1} |
| 47 | + ports: |
| 48 | + - ${LIGHTHOUSE_PORT_P2P:-9000}:9000/tcp # P2P TCP |
| 49 | + - ${LIGHTHOUSE_PORT_P2P:-9000}:9000/udp # P2P UDP |
| 50 | + labels: |
| 51 | + - "promtail-monitored=${LIGHTHOUSE_PROMTAIL_MONITORED:-true}" |
| 52 | + command: | |
| 53 | + lighthouse bn |
| 54 | + --network=${NETWORK} |
| 55 | + --checkpoint-sync-url=${LIGHTHOUSE_CHECKPOINT_SYNC_URL} |
| 56 | + --checkpoint-sync-url-timeout=600 |
| 57 | + --execution-endpoint=http://el-${EL}:8551 |
| 58 | + --execution-jwt=/opt/jwt/jwt.hex |
| 59 | + --datadir=/opt/app/beacon/ |
| 60 | + --builder=http://mev-${MEV}:18550 |
| 61 | + --http |
| 62 | + --http-address=0.0.0.0 |
| 63 | + --http-port=5052 |
| 64 | + --metrics |
| 65 | + --metrics-address=0.0.0.0 |
| 66 | + --metrics-port=5054 |
| 67 | + --metrics-allow-origin="*" |
| 68 | + --suggested-fee-recipient=${LIDO_EXECUTION_LAYER_REWARDS_ADDRESS:-0x388C818CA8B9251b393131C08a736A67ccB19297} |
| 69 | + networks: [dvnode] |
| 70 | + volumes: |
| 71 | + - ./data/lighthouse:/opt/app/beacon |
| 72 | + - ./jwt:/opt/jwt |
| 73 | + restart: unless-stopped |
0 commit comments