Updated docker integration

pull/993/head
Konstantin Zolotarev 6 years ago
parent c1d1385abb
commit 5af2b83d82
  1. 1
      Dockerfile
  2. 10
      docker-compose.yml

@ -9,7 +9,6 @@ ENV PORT=4000 \
ETHEREUM_JSONRPC_VARIANT="ganache" \ ETHEREUM_JSONRPC_VARIANT="ganache" \
ETHEREUM_JSONRPC_HTTP_URL="http://host.docker.internal:7545" \ ETHEREUM_JSONRPC_HTTP_URL="http://host.docker.internal:7545" \
ETHEREUM_JSONRPC_WEB_SOCKET_URL="ws://host.docker.internal:7545" \ ETHEREUM_JSONRPC_WEB_SOCKET_URL="ws://host.docker.internal:7545" \
POSTGRES_URL="host.docker.internal" \
DATABASE_URL="postgresql://postgres:@host.docker.internal:5432/explorer?ssl=false" \ DATABASE_URL="postgresql://postgres:@host.docker.internal:5432/explorer?ssl=false" \
SECRET_KEY_BASE="RMgI4C1HSkxsEjdhtGMfwAHfyT6CKWXOgzCboJflfSm4jeAlic52io05KB6mqzc5" SECRET_KEY_BASE="RMgI4C1HSkxsEjdhtGMfwAHfyT6CKWXOgzCboJflfSm4jeAlic52io05KB6mqzc5"

@ -0,0 +1,10 @@
version: '3'
services:
blockscout:
build: .
ports:
- "4000:4000"
environment:
ETHEREUM_JSONRPC_HTTP_URL: "http://host.docker.internal:2000"
ETHEREUM_JSONRPC_WEB_SOCKET_URL: "ws://host.docker.internal:2000"
Loading…
Cancel
Save