-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
45 lines (41 loc) · 1.05 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
43
44
45
version: "3"
services:
mongo:
image: mongo:6.0.2
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: apibara
MONGO_INITDB_ROOT_PASSWORD: apibara
ports:
- 27017:27017
volumes:
- ./_docker/apibara_mongodb:/data/db
mongo-express:
image: mongo-express:1.0.0-alpha.4
ports:
- 8081:8081
environment:
ME_CONFIG_MONGODB_SERVER: "mongo"
ME_CONFIG_MONGODB_ADMINUSERNAME: apibara
ME_CONFIG_MONGODB_ADMINPASSWORD: apibara
depends_on:
- mongo
apibara:
# image: apibara/apibara:0.3.3
image: apibara/starknet:ffbe469b2dadee8f5e3c11d35ee8b0f81915c63a
restart: always
command: apibara-starknet start --custom-network http://devnet:5050 # --config /usr/etc/apibara/configuration.toml
ports:
- 7171:7171
environment:
RUST_LOG: "apibara=debug"
RUST_BACKTRACE: 1
depends_on:
- devnet
# volumes:
# - ./apibara:/usr/etc/apibara
devnet:
image: shardlabs/starknet-devnet:0.3.3
command: --seed 5
ports:
- 5050:5050