-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
42 lines (42 loc) · 1.29 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
services:
foundry:
container_name: pg-chainsync-foundry
build:
context: .
dockerfile: ./dev/Dockerfile.foundry
volumes:
- ./dev/state.anvil:/root/foundry/state.anvil:z
ports:
- 8545:8545
networks:
- net-chainsync
database:
container_name: pg-chainsync
build:
context: .
dockerfile: ./dev/Dockerfile.db
environment:
POSTGRES_PASSWORD: postgres
volumes:
- ./dev/dev.sql:/docker-entrypoint-initdb.d/99_dev.sql:z
- ./target/debug/pg_chainsync-pg17/opt/postgres/pgrx-install/lib/postgresql/pg_chainsync.so:/usr/lib/postgresql/17/lib/pg_chainsync.so:z
- ./target/debug/pg_chainsync-pg17/opt/postgres/pgrx-install/share/postgresql/extension/pg_chainsync.control:/usr/share/postgresql/17/extension/pg_chainsync.control:z
- ./target/debug/pg_chainsync-pg17/opt/postgres/pgrx-install/share/postgresql/extension/pg_chainsync--0.0.0.sql:/usr/share/postgresql/17/extension/pg_chainsync--0.0.0.sql:z
ports:
- 5432:5432
networks:
- net-chainsync
depends_on:
- foundry
erc20:
container_name: pg-chainsync-erc20
build:
context: ./dev/erc20
dockerfile: Dockerfile
networks:
- net-chainsync
depends_on:
- foundry
networks:
net-chainsync:
driver: bridge