/
docker-compose.env
70 lines (52 loc) · 2.45 KB
/
docker-compose.env
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Environment variables used by Docker Compose
###############################################################
### REQUIRED: Node/network selection ###
###############################################################
# Version of cheqd-noded Docker image to pull from GitHub
# Needs to be changed in case of node version upgrades
# Define which network you want to deploy a node
# Change value to "testnet" if targetting testnet
CHEQD_NETWORK="mainnet"
# Define cheqd-noded software release version
# Current MAINNET recommended version: 0.6.7
# Current TESTNET recommended version: 0.6.7
DOCKER_IMAGE_VERSION="0.6.7"
###############################################################
### OPTIONAL: Host-side port mappings ###
###############################################################
# Ports to be exposed on the host machine/service
# Only required if you want to customise target->host mappings
# Tendermint P2P
TM_P2P_PORT=26656
# Tendermint RPC API
TM_RPC_API_PORT=26657
# Prometheus metrics port (optional)
TM_PROMETHEUS_PORT=26660
# Cosmos REST API (optional)
COSMOS_REST_API_PORT=1317
# Cosmos gRPC API (optional)
COSMOS_GRPC_API_PORT=9090
# Cosmos gRPC-Gateway API (optional)
COSMOS_GRPC_GATEWAY_API_PORT=9191
###############################################################
### OPTIONAL: Docker volume configuration ###
###############################################################
# Define a Docker volume source
# Default is set to the volume name referred in the docker-compose.yml file
CHEQD_DOCKER_VOLUME_SOURCE="cheqd_volume"
# Define driver to be used for Docker volume
# Set to "local" for a single host, or others such as "overlay" for writing to
# an externally available volume through volume plugins, e.g. "nfs"
# You need to specify **driver_opts** in docker-compose.yml for your preferred driver
# Refer to: https://docs.docker.com/engine/extend/legacy_plugins/#/volume-plugins
CHEQD_DOCKER_VOLUME_DRIVER="local"
# Set to true if created externally, outside of Docker Compose
CHEQD_DOCKER_VOLUME_IS_EXTERNAL="false"
###############################################################
### OPTIONAL: Build arguments ###
###############################################################
# Environment variables only used during BUILD process
# Home directory for cheqd user inside the container
CHEQD_HOME_DIR="/home/cheqd"
# Build tag when rebuilding image
BUILD_TAG="local"