forked from terra-money/mantlemint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
55 lines (48 loc) · 1.13 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
46
47
48
49
50
51
52
53
version: '3.8'
x-mm-env: &mm-env
- CHAIN_ID=localterra
- MANTLEMINT_HOME=/app
- INDEXER_DB=/data/indexer
- MANTLEMINT_DB=/data/mantlemint
- GENESIS_PATH=/app/config/genesis.json
- DISABLE_SYNC=false
- RUST_BACKTRACE=full
- ENABLE_EXPORT_MODULE=false
- RICHLIST_LENGTH=100
- RICHLIST_THRESHOLD=1uluna
- ACCOUNT_ADDRESS_PREFIX=terra
- BOND_DENOM=uluna
- LCD_ENDPOINTS=http://terrad:1317
- RPC_ENDPOINTS=http://terrad:26657
- WS_ENDPOINTS=ws://terrad:26657/websocket
services:
terrad:
image: ghcr.io/terra-money/localterra:${TERRA_VERSION:-latest}
hostname: terrad
volumes:
- terra:/app
networks:
- default
ports:
- "8080:8080"
- "26657:26657"
mantlemint:
build:
context: .
dockerfile: Dockerfile
image: ghcr.io/terra-money/mantlemint:${TERRA_VERSION:-latest}
hostname: mantlemint
command: /usr/local/bin/mantlemint
environment: *mm-env
restart: unless-stopped
volumes:
- terra:/app
networks:
- default
ports:
- 1317:1317
- 9090:9090
volumes:
terra:
networks:
default: