forked from terra-money/classic-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
35 lines (31 loc) · 939 Bytes
/
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
version: '3.2'
services:
terrad-node:
build:
context: .
dockerfile: Dockerfile
ports:
- "26656-26657:26656-26657"
- 1317:1317
expose:
- 26657
- 1317
environment:
- ID=0
- LOG=$${LOG:-terrad.log}
volumes:
- ../../../terra-data:/root/.terrad/data
networks:
- my_network
command: bash -c "terrad start && sleep 5m && terracli rest-server --chain-id=columbus-3 --node tcp://localhost:26657 --trust-node=false --laddr=tcp://0.0.0.0:1317"
# download genesis file from here: https://github.com/terra-project/launch/tree/master/columbus-3
#
# when the container is running, open a new shell in it with:
#
# docker exec -ti <container_id> bash
#
# and execute the following command to start the rest-server
#
# terracli rest-server --chain-id=columbus-3 --node tcp://localhost:26657 --trust-node=false --laddr=tcp://0.0.0.0:1317
networks:
my_network: