diff --git a/dockerfiles/super_node/docker-compose.yml b/dockerfiles/super_node/docker-compose.yml index c1540ec6..b12a514e 100644 --- a/dockerfiles/super_node/docker-compose.yml +++ b/dockerfiles/super_node/docker-compose.yml @@ -65,28 +65,6 @@ services: - "127.0.0.1:8080:8080" - "127.0.0.1:8081:8081" - resync: - depends_on: - - db - build: - context: ./../../ - cache_from: - - alpine:latest - - golang:1.12.4 - dockerfile: ./dockerfiles/super_node/Dockerfile - args: - USER: "vdbm" - CONFIG_FILE: ./environments/superNodeETH.toml - environment: - VDB_COMMAND: "resync" - IPFS_INIT: "true" - IPFS_PATH: "/root/.eth_resync/.ipfs" - DATABASE_NAME: "vulcanize_public" - DATABASE_HOSTNAME: "db" - DATABASE_PORT: 5432 - DATABASE_USER: "vdbm" - DATABASE_PASSWORD: "password" - graphql: restart: always depends_on: diff --git a/dockerfiles/super_node/startup_script.sh b/dockerfiles/super_node/startup_script.sh index 0dc7e9ab..0f07ea0b 100755 --- a/dockerfiles/super_node/startup_script.sh +++ b/dockerfiles/super_node/startup_script.sh @@ -49,19 +49,17 @@ fi # If IPFS initialization was successful if [[ $? -eq 0 ]]; then - echo "Beginning the vulcanizedb super node process" - ./vulcanizedb ${VDB_COMMAND} --config=config.toml 2>&1 | tee -a vulcanizedb.log & + echo "Running the VulcanizeDB process" + ./vulcanizedb ${VDB_COMMAND} --config=config.toml else echo "Could not initialize IPFS." exit 1 fi -# If Vulcanizedb startup was successful +# If VulcanizeDB process was successful if [ $? -eq 0 ]; then - echo "Super node successfully booted" + echo "VulcanizeDB process ran successfully" else - echo "Could not start vulcanizedb super node process. Is the config file correct?" + echo "Could not start VulcanizeDB process. Is the config file correct?" exit 1 -fi - -tail -f vulcanizedb.log \ No newline at end of file +fi \ No newline at end of file