Skip to content

Commit

Permalink
Merge pull request gasp-xyz#180 from mangata-finance/eddy/add-sidecar
Browse files Browse the repository at this point in the history
Add sidecar to devops/parachain/docker-compose.yml
  • Loading branch information
CodeByEddy committed Jan 21, 2022
2 parents 6a5ddac + 2efaa17 commit 27d164c
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion devops/parachain/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ services:
environment:
- STATE_FILE=/config/genesis-state
- WASM_FILE=/config/genesis-wasm
- COLLATOR_ADDR=ws://10.0.0.2:9944
- COLLATOR_ADDR=ws://relay_alice:9944
volumes:
- ./config:/config
networks:
Expand Down Expand Up @@ -133,3 +133,17 @@ services:
networks:
test_net:
ipv4_address: 10.0.0.10

sidecar:
image: parity/substrate-api-sidecar:latest
container_name: para_alice_sidecar
depends_on:
- para_alice
ports:
- "8080:8080"
networks:
test_net:
ipv4_address: 10.0.0.11
environment:
SAS_SUBSTRATE_WS_URL: ws://para_alice:9944
SAS_EXPRESS_LOG_MODE: all

0 comments on commit 27d164c

Please sign in to comment.