Skip to content

Commit

Permalink
build: add router key env var on docker compose (#40)
Browse files Browse the repository at this point in the history
Closes: XXX

## Overview

Add ROUTER_KEY on dokcer compose
- cardinal
- cardinal-debug
- evm

World CLI will set ROUTER_KEY to env var, and sgt need to add to docker env var
  • Loading branch information
zulkhair committed Mar 27, 2024
1 parent 5b5c0d0 commit b268b50
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ services:
- REDIS_ADDRESS=${REDIS_ADDRESS:-redis:6379}
- REDIS_PASSWORD=${REDIS_PASSWORD}
- REDIS_MODE=normal
- ROUTER_KEY=${ROUTER_KEY}
restart: unless-stopped

cardinal-debug:
Expand Down Expand Up @@ -46,6 +47,7 @@ services:
- REDIS_ADDRESS=${REDIS_ADDRESS:-redis:6379}
- REDIS_PASSWORD=${REDIS_PASSWORD}
- REDIS_MODE=normal
- ROUTER_KEY=${ROUTER_KEY}
restart: unless-stopped

evm:
Expand All @@ -63,6 +65,7 @@ services:
- FAUCET_ADDR=${FAUCET_ADDR:-world142fg37yzx04cslgeflezzh83wa4xlmjpms0sg5}
# Note, ":-" signals a default value of "1s", NOT negative 1 second.
- BLOCK_TIME=${BLOCK_TIME:-1s}
- ROUTER_KEY=${ROUTER_KEY}
image: us-docker.pkg.dev/argus-labs/world-engine/chain:latest
expose:
- "1317"
Expand Down

0 comments on commit b268b50

Please sign in to comment.