Blockchain explorer for Ethereum based network and a tool for inspecting and analyzing EVM based blockchains.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
blockscout/.devcontainer/docker-compose.yml

30 lines
825 B

services:
elixir:
image: ghcr.io/blockscout/devcontainer-elixir:1.17.3-erlang-27.1
# Uncomment next lines to use test Dockerfile with new Elixir version
# build:
# context: .
# dockerfile: Dockerfile
volumes:
- ..:/workspace:cached
# Runs app on the same network as the database container, allows "forwardPorts" in devcontainer.json function.
network_mode: service:db
# Overrides default command so things don't shut down after the process ends.
command: sleep infinity
db:
image: postgres:latest
command: postgres -c 'max_connections=250'
restart: unless-stopped
volumes:
- postgres-data:/var/lib/postgresql/data
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: app
volumes:
postgres-data: