Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions aws/synthetix/prod/web/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@ services:
postgres_pass: let-me-in
postgres_db: graph-node
ipfs: '0.0.0.0:5001'
ethereum: 'ovm:http://0.0.0.0:8545'
ethereum: 'ovm:http://0.0.0.0:8546'
RUST_LOG: info
STARTUP_WAIT_TIMEOUT: 30
OVM_URL_WITH_PORT: 'http://0.0.0.0:8545'
OVM_URL_WITH_PORT: 'http://0.0.0.0:8546'
volumes:
- postgres-data:/data/postgres
- ipfs-data:/data/ipfs
Expand Down
4 changes: 2 additions & 2 deletions aws/synthetix/uat/web/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@ services:
postgres_pass: let-me-in
postgres_db: graph-node
ipfs: '0.0.0.0:5001'
ethereum: 'ovm:http://0.0.0.0:8545'
ethereum: 'ovm:http://0.0.0.0:8546'
RUST_LOG: info
STARTUP_WAIT_TIMEOUT: 30
OVM_URL_WITH_PORT: 'http://0.0.0.0:8545'
OVM_URL_WITH_PORT: 'http://0.0.0.0:8546'
volumes:
- postgres-data:/data/postgres
- ipfs-data:/data/ipfs
Expand Down
56 changes: 56 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ services:
- L2_RPC_SERVER_PORT=8545
- TRANSACTION_NODE_URL=http://rollup-full-node:8546
- READ_ONLY_NODE_URL=http://read-only-node:8547
- REQUEST_LIMIT_PERIOD_MILLIS=1000
- MAX_NON_TRANSACTION_REQUESTS_PER_UNIT_TIME=10
- MAX_TRANSACTIONS_PER_UNIT_TIME=10

read-only-node:
image: optimism-monorepo_rollup-full-node:latest
Expand Down Expand Up @@ -77,7 +80,60 @@ services:
ports:
- 9545:9545

graph-node:
build:
context: docker/the-graph
dockerfile: Dockerfile
ports:
- '8000:8000'
- '8001:8001'
- '8020:8020'
- '8030:8030'
- '8040:8040'
environment:
postgres_host: postgres:5432
postgres_user: graph-node
postgres_pass: let-me-in
postgres_db: graph-node
ipfs: 'ipfs:5001'
ethereum: 'ovm:http://router:8545'
RUST_LOG: info
STARTUP_WAIT_TIMEOUT: 30
OVM_URL_WITH_PORT: 'http://router:8545'
volumes:
- postgres-data:/data/postgres
- ipfs-data:/data/ipfs

ipfs:
image: ipfs/go-ipfs:v0.4.23
ports:
- '5001:5001'
volumes:
- ipfs-data:/data/ipfs

postgres:
image: postgres
ports:
- '5432:5432'
command: ["postgres", "-cshared_preload_libraries=pg_stat_statements"]
environment:
POSTGRES_USER: graph-node
POSTGRES_PASSWORD: let-me-in
POSTGRES_DB: graph-node
volumes:
- postgres-data:/var/lib/postgresql/data

volumes:
full-node-data:
l1-node-data:
l2-node-data:
postgres-data:
ipfs-data: