Skip to content

[Bug] [Docker] error: The argument '--postgres-url <URL>' cannot be used with '--config <config>' #2271

@schmidsi

Description

@schmidsi

Summary

Running docker-compose up on my local machine throws the following error from the graph-node:

graph-node_1 | error: The argument '--postgres-url <URL>' cannot be used with '--config <config>'

The graph-node_1 container exits.

Reproduction

Following these instructions: https://thegraph.com/docs/quick-start#2.-run-a-local-graph-node

git clone https://github.com/graphprotocol/graph-node/
cd graph-node/docker

Changing the ethereum environment var to infura mainnet

  • ethereum: 'mainnet:https://mainnet.infura.io/v3/MY_NOT_SO_SECRET_PROJECT_ID'
docker-compose up

Expected behaviour

The graph-node container successfully boots and is accessible from the outside.

Further information

  • MacOS Catalina 10.15.7 (19H114)
  • Docker Desktop Version 3.1.0
  • Docker Engine Version 20.10.2
  • Docker Compose Version 1.27.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions