-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yaml
49 lines (44 loc) · 1.29 KB
/
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
43
44
45
46
47
48
49
version: '3.8'
services:
rosetta-api-offline:
container_name: rosetta-api-offline
image: ghcr.io/gear-tech/rosetta-api:latest
ports:
- "8090:8080"
command: yarn start:offline
profiles: ["offline"]
rosetta-api-online-dev:
container_name: rosetta-api-dev
image: ghcr.io/gear-tech/rosetta-api:latest
profiles: ["online-dev"]
pull_policy: always
command: yarn start:dev --update-config --ws ws://gear-dev:9944 --http http://gear-dev:9933
ports:
- "8080:8080"
depends_on:
- gear-dev
gear-dev:
user: root
ports:
- "9933:9933"
- "9944:9944"
image: ghcr.io/gear-tech/node:latest
profiles: ["online-dev"]
pull_policy: always
container_name: gear-node
volumes:
- "/tmp/gear-dev:/data/"
command: >
gear --base-path /data/ --dev --alice --unsafe-ws-external --unsafe-rpc-external --rpc-methods Unsafe --rpc-cors all --pruning archive --name=gear-dev
rosetta-api-online-testnet:
container_name: rosetta-api-testnet
image: ghcr.io/gear-tech/rosetta-api:latest
profiles: ["online-testnet"]
pull_policy: always
command: yarn start:test --ws ws://gear-testnet:9944 --http http://gear-testnet:9933
ports:
- "8080:8080"
depends_on:
- gear-testnet
volumes:
gear-dev: