|
|
|
@ -1,6 +1,7 @@ |
|
|
|
|
SYSTEM = $(shell uname -s)
|
|
|
|
|
HOST = host.docker.internal
|
|
|
|
|
DOCKER_IMAGE = blockscout_prod
|
|
|
|
|
BS_CONTAINER_NAME = blockscout
|
|
|
|
|
PG_CONTAINER_NAME = postgres
|
|
|
|
|
PG_CONTAINER_IMAGE = postgres:10.4
|
|
|
|
|
THIS_FILE = $(lastword $(MAKEFILE_LIST))
|
|
|
|
@ -87,7 +88,7 @@ endif |
|
|
|
|
|
|
|
|
|
start: build postgres |
|
|
|
|
@echo "==> Starting blockscout"
|
|
|
|
|
@docker run --rm \
|
|
|
|
|
@docker run --rm --name $(BS_CONTAINER_NAME) \
|
|
|
|
|
$(BLOCKSCOUT_CONTAINNER_PARAMS) \
|
|
|
|
|
-p 4000:4000 \
|
|
|
|
|
$(DOCKER_IMAGE) /bin/sh -c "mix phx.server"
|
|
|
|
|