- Docker v20.10+
- Docker-compose 2.x.x+
- Running Ethereum JSON RPC client
We assume Blockscout is already deployed in your environment.
git pull origin master
You will pass in the backend proxy url when running docker compose. The standard configuration for the backend is
http//host.docker.internal:4000but if you've made any changes pass in your url.
Run all containers (up) and run processes in the background (-d).
BACK_PROXY_PASS=http//host.docker.internal:4000 docker compose -f docker-compose-no-build-external-backend.yml up -d
View progress and check containers
Unless you overrode the default configs (or did not provide the
FRONT_PROXY_PASSvariable) , you will see the default port for the backend is
3000for the frontend.
However, with the proxy setup the whole application will default to port
80(which is just localhost). Your frontend instance should now be served on localhost. More details about the recommended proxy setup.
It may take several minutes for the frontend to propagate during this process.
There are several required ENVs for the frontend. If required variables are missing or invalid the frontend will show in error message and will not run the app.
To adjust, stop the frontend container, update the env file (or pass variables directly), and restart the container.
Note that in the
SMART_CONTRACT_VERIFIER__SOLIDITY__FETCHER__LIST__LIST_URLvariable is different depending on your OS. The default is Linux, if you are running macOS or Windows be sure to comment out the appropriate variables.