-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
42 lines (40 loc) · 967 Bytes
/
docker-compose.yaml
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
version: '3.9'
services:
postgresql:
image: postgres:12.9-alpine # matches version used on aws environments
container_name: pg-meta-transaction-processor
ports:
- "5432:5432"
environment:
- POSTGRES_USER=dimo
- POSTGRES_PASSWORD=dimo
- POSTGRES_DB=meta_transaction_processor
volumes:
- postgresdb:/var/lib/postgresql/data:delegated
localstack:
image: localstack/localstack:latest
ports:
- "4566:4566"
volumes:
# Here you mount your setup file so it will be executed
# when the container starts
- ./resources/scripts/init.sh:/etc/localstack/init/ready.d/script.sh
anvil:
image: ghcr.io/foundry-rs/foundry:latest
entrypoint:
- anvil
- --block-time
- "5"
- --state
- /state
- --host
- 0.0.0.0
ports:
- "8545:8545"
volumes:
- anvil:/state
volumes:
postgresdb:
driver: local
anvil:
driver: local