Merge pull request #21 from allnil/fix/fix-devenv-docker-compose

FIX: fix docker compose so example tests successfully pass
This commit is contained in:
Ferran Borreguero 2024-03-14 14:45:49 +00:00 committed by GitHub
commit cc6ed53edd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -18,6 +18,9 @@ services:
- --keystore=/keystore/keystore
- --unlock=0xB5fEAfbDD752ad52Afb7e1bD2E40432A485bBB7F
- --password=/keystore/password.txt
- --suave.dev
- --suave.eth.remote_endpoint=http://suave-enabled-chain:8545
- --suave.eth.external-whitelist=172.17.0.1
depends_on:
- suave-enabled-chain
volumes:
@ -25,12 +28,28 @@ services:
ports:
- 8545:8545
- 8546:8546
networks:
- suave-net
suave-enabled-chain:
build: ../..
command:
- --dev
- --dev.gaslimit=30000000
- --http
- --http.addr=0.0.0.0
- --http.vhosts=*
- --http.corsdomain=*
- --datadir=/data
- --keystore=/keystore/keystore
- --password=/keystore/password.txt
- --unlock=0xB5fEAfbDD752ad52Afb7e1bD2E40432A485bBB7F
- --allow-insecure-unlock
- --ws
ports:
- 8555:8545
volumes:
- ./suave-ex-node:/keystore
networks:
- suave-net
networks:
suave-net: