forked from CryptoManufaktur-io/provide-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
41 lines (40 loc) · 1.27 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
version: "3.4"
services:
node:
restart: unless-stopped
build:
context: ./node
dockerfile: Dockerfile.source
args:
- BUILD_TARGET=${NODE_BUILD_TARGET}
stop_grace_period: 1m
image: provide-node:local
volumes:
- provide-data:/home/provide
ports:
- 33333:33333/tcp
- 33333:33333/udp
environment:
- VAULT_ID=${VAULT_ID}
- VAULT_KEY_ID=${VAULT_KEY_ID}
- VAULT_REFRESH_TOKEN=${REFRESH_TOKEN}
- PROVIDE_REFRESH_TOKEN=${REFRESH_TOKEN}
- BASELEDGER_MODE=full
- BASELEDGER_LOG_LEVEL='main:debug,abci-client:debug,blockchain:debug,consensus:debug,state:debug,statesync:debug,*:error'
- BASELEDGER_GENESIS_URL=http://genesis.peachtree.baseledger.provide.network:1337/genesis
- BASELEDGER_PERSISTENT_PEERS=187b285fcf8bff3f08f5e61cfe05b713a4d32356@genesis.peachtree.baseledger.provide.network:33333
- BASELEDGER_PEER_ALIAS=cmf
- NATS_URL=nats://35.174.77.159:4222,nats://35.172.123.165:4222
- NATS_CLIENT_PREFIX=baseledger
cli:
restart: "no"
build:
context: ./cli
dockerfile: Dockerfile.source
args:
- BUILD_TARGET=${CLI_BUILD_TARGET}
image: provide-cli:local
volumes:
- provide-data:/home/provide
volumes:
provide-data: