Skip to content

Commit

Permalink
Specify Hornet net config supplied by .env (#1251)
Browse files Browse the repository at this point in the history
  • Loading branch information
trungtt198x authored Aug 24, 2023
1 parent 6748901 commit 1fd6f19
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .env.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
MONGODB_USERNAME=root
MONGODB_PASSWORD=root
INFLUXDB_USERNAME=root
INFLUXDB_PASSWORD=password
JWT_PASSWORD=password
JWT_SALT=saltines
HORNET_CONFIG_PATH=config_testnet.json
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ INFLUXDB_USERNAME=root
INFLUXDB_PASSWORD=password
JWT_PASSWORD=password
JWT_SALT=saltines
HORNET_CONFIG_PATH=config_testnet.json
```
1 change: 1 addition & 0 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ services:
# - "-c"
# - "config_testnet.json"
# - "config_alphanet.json"
- "-c ${HORNET_CONFIG_PATH}"
- "--inx.enabled=true"
- "--inx.bindAddress=hornet:9029"
- "--prometheus.enabled=true"
Expand Down

0 comments on commit 1fd6f19

Please sign in to comment.