From 9ce0c5bb09fa83c2c22e8c3999ba1bfd76a08399 Mon Sep 17 00:00:00 2001 From: ramil Date: Wed, 19 Aug 2020 17:32:35 +0300 Subject: [PATCH] use docker image for header sync instead of building it --- dockerfiles/docker-compose.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/dockerfiles/docker-compose.yml b/dockerfiles/docker-compose.yml index fe0dd6db..3d00e18a 100644 --- a/dockerfiles/docker-compose.yml +++ b/dockerfiles/docker-compose.yml @@ -31,14 +31,10 @@ services: - "127.0.0.1:8079:5432" eth-header-sync: + restart: unless-stopped depends_on: - contact-watcher-db - build: - context: ./../ - cache_from: - - alpine:latest - - golang:1.13 - dockerfile: ./dockerfiles/header_sync/Dockerfile + image: vulcanize/eth-header-sync:v1.0.0 volumes: - ./geth.ipc:/geth.ipc - ../environments/example.toml:/app/config.toml @@ -75,14 +71,14 @@ services: restart: unless-stopped depends_on: - contact-watcher-db - image: vulcanizejenkins/postgraphile:v1.0 + image: vulcanize/postgraphile:v1.0 environment: - PG_HOST=contact-watcher-db - PG_PORT=5432 - PG_DATABASE=vulcanize_public - PG_USER=vdbm - PG_PASSWORD=password - - SCHEMA=public + - SCHEMA=public,header_0xd850942ef8811f2a866692a623011bde52a462c1 ports: - "127.0.0.1:5000:5000"