From bdd7ca14c28025db746e0b29756be7237779dde4 Mon Sep 17 00:00:00 2001 From: Blair Vanderlugt Date: Sun, 21 Mar 2021 11:32:53 -0700 Subject: [PATCH] contract migration permissions --- apps/contract-migration/docker/Dockerfile | 1 + docker-compose.yml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/contract-migration/docker/Dockerfile b/apps/contract-migration/docker/Dockerfile index 28f0d65..7589c6c 100644 --- a/apps/contract-migration/docker/Dockerfile +++ b/apps/contract-migration/docker/Dockerfile @@ -128,6 +128,7 @@ COPY contract-migration/*.sh ./ # RUN chown grassroots:grassroots .local/ RUN chown grassroots:grassroots ./* +RUN chown grassroots:grassroots ./.local RUN chmod gu+x *.sh RUN mkdir -p /tmp/cic/config diff --git a/docker-compose.yml b/docker-compose.yml index 25ad177..98d4f03 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -36,7 +36,7 @@ services: restart: unless-stopped ports: - ${DEV_ETH_PORT_HTTP:-63545}:8545 - - ${DEV_ETH_PORT_WS-63546}:8546 + - ${DEV_ETH_PORT_WS:-63546}:8546 - 30303 volumes: - ./apps/bloxbergValidatorSetup/keys:/root/keys # stores the signing key locally @@ -80,6 +80,7 @@ services: build: context: apps/ dockerfile: contract-migration/docker/Dockerfile + # image: registry.gitlab.com/grassrootseconomics/cic-internal-integration/contract-migration:latest environment: # ETH_PROVIDER should be broken out into host/port but cic-eth expects this ETH_PROVIDER: http://eth:8545