Skip to content

Commit

Permalink
Updated docker-compose.yml and subgraph.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
clydedevv committed Jul 23, 2024
1 parent bf03f94 commit c2478c8
Show file tree
Hide file tree
Showing 24 changed files with 27,943 additions and 1,917 deletions.
40 changes: 40 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
version: '3.8'

services:
ipfs:
image: ipfs/go-ipfs:latest
ports:
- "5001:5001"
volumes:
- ipfs-data:/data/ipfs

postgres:
image: postgres:latest
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: mydbpassword
POSTGRES_DB: graph-node
POSTGRES_INITDB_ARGS: "--locale=C --encoding=UTF8"
ports:
- "5432:5432"
volumes:
- postgres-data:/var/lib/postgresql/data

graph-node:
image: graphprotocol/graph-node:latest
ports:
- "8000:8000"
- "8001:8001"
- "8020:8020"
environment:
postgres_host: postgres
postgres_user: postgres
postgres_pass: mydbpassword
postgres_db: graph-node
ipfs: 'ipfs:5001'
ethereum: 'evmos:https://proxy.evmos.org/web3'
GRAPH_LOG: debug

volumes:
ipfs-data:
postgres-data:
Loading

0 comments on commit c2478c8

Please sign in to comment.