/ docker-compose.yml
docker-compose.yml
1 services: 2 ipfs: 3 image: ipfs/go-ipfs 4 ports: 5 - '5001:5001' 6 7 postgres: 8 image: postgres 9 ports: 10 - '5432:5432' 11 command: ["postgres", "-cshared_preload_libraries=pg_stat_statements"] 12 environment: 13 POSTGRES_USER: graph-node 14 POSTGRES_PASSWORD: postgres 15 POSTGRES_DB: graph-node 16 POSTGRES_INITDB_ARGS: -E UTF8 --locale=C 17 18 redis: 19 image: redis:latest 20 restart: unless-stopped 21 ports: 22 - '6379:6379' 23 24 postgres-event-processor: 25 image: postgres 26 ports: 27 - '5433:5432' 28 command: ["postgres", "-cshared_preload_libraries=pg_stat_statements"] 29 environment: 30 POSTGRES_USER: user 31 POSTGRES_PASSWORD: admin 32 POSTGRES_DB: dripsdb 33 POSTGRES_INITDB_ARGS: -E UTF8 --locale=C 34 35 events-processor: 36 build: 37 dockerfile: ./src/e2e-tests/docker/events-processor/Dockerfile 38 context: . 39 depends_on: 40 - postgres-event-processor 41 42 drips-gql-api: 43 build: 44 dockerfile: ./src/e2e-tests/docker/drips-gql-api/Dockerfile 45 context: . 46 ports: 47 - '8080:8080' 48 depends_on: 49 - postgres-event-processor 50 - events-processor 51 52 testnet: 53 build: 54 dockerfile: ./src/e2e-tests/docker/testnet/Dockerfile 55 context: . 56 ports: 57 - "8545:8545" 58 59 graph-node: 60 image: graphprotocol/graph-node 61 ports: 62 - '8000:8000' 63 - '8001:8001' 64 - '8020:8020' 65 - '8030:8030' 66 - '8040:8040' 67 depends_on: 68 - ipfs 69 - postgres 70 - testnet 71 environment: 72 postgres_host: postgres 73 postgres_user: graph-node 74 postgres_pass: postgres 75 postgres_db: graph-node 76 ipfs: 'ipfs:5001' 77 ethereum: "goerli:http://testnet:8545" 78 GRAPH_LOG: info 79 80 subgraph-deployer: 81 build: 82 dockerfile: ./src/e2e-tests/docker/subgraph-deployer/Dockerfile 83 context: . 84 depends_on: 85 - testnet 86 - graph-node 87 88 fake-pinata: 89 build: 90 dockerfile: ./src/e2e-tests/docker/fake-pinata/Dockerfile 91 context: . 92 ports: 93 - '3000:3000'