added traefik metrics and more chains
This commit is contained in:
28
README.md
28
README.md
@@ -14,29 +14,7 @@ cd POKT_DOKT
|
|||||||
git reset --hard origin/main && git pull && ./util/prepare.sh
|
git reset --hard origin/main && git pull && ./util/prepare.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
This compose file needs the following env-vars for example in a .env file inside the repo root-folder:
|
!!! This compose file needs env-vars, for example in a .env file inside the repo root-folder !!!
|
||||||
```
|
|
||||||
# Private Key for Pocket-Account mainnet can be generated here (https://wallet.pokt.network/)
|
|
||||||
POCKET_CORE_KEY=
|
|
||||||
POCKET_CORE_PASSPHRASE=
|
|
||||||
# Private Key for Pocket-Account testnet can be generated here (https://wallet.testnet.pokt.network/)
|
|
||||||
POCKET_CORE_KEY_TEST=
|
|
||||||
POCKET_CORE_PASSPHRASE_TEST=
|
|
||||||
# POCKET SEEDS (https://docs.pokt.network/home/resources/references/seeds)
|
|
||||||
POCKET_MAIN_SEEDS=
|
|
||||||
POCKET_TEST_SEEDS=
|
|
||||||
# SNAPSHOT (https://github.com/pokt-network/pocket-snapshots)
|
|
||||||
POCKET_SNAPSHOT=""
|
|
||||||
# LETSENCRYPT
|
|
||||||
DOMAIN=
|
|
||||||
MAIL=
|
|
||||||
SERVERPORT=
|
|
||||||
PUID=
|
|
||||||
PGID=
|
|
||||||
# IP WHITELIST FOR TRAFFIC
|
|
||||||
WHITELIST=
|
|
||||||
```
|
|
||||||
|
|
||||||
!!! I added a simple test-script (util/test_relay.sh) to see if the (geth)chains are synced. Dont try to relay before they are. <br />
|
!!! I added a simple test-script (util/test_relay.sh) to see if the (geth)chains are synced. Dont try to relay before they are. <br />
|
||||||
To test if relaying chains works, pokt-testnet-service and pokt-mainnet service have to be provided with the following command parameters:
|
To test if relaying chains works, pokt-testnet-service and pokt-mainnet service have to be provided with the following command parameters:
|
||||||
```
|
```
|
||||||
@@ -91,19 +69,15 @@ Check if there is a file here /traefic/letsencrypt/acme.json if yes, you have to
|
|||||||
Otherwise traefik will not issue the certificate for an existing domain. <br />
|
Otherwise traefik will not issue the certificate for an existing domain. <br />
|
||||||
|
|
||||||
#### TODO !!!!
|
#### TODO !!!!
|
||||||
HARMONY SYNC CHECK <br />
|
|
||||||
General Monitoring <br />
|
General Monitoring <br />
|
||||||
LOGFILES <br />
|
LOGFILES <br />
|
||||||
Bootstrapping from Snapshots <br />
|
Bootstrapping from Snapshots <br />
|
||||||
Link-Timezone into containers.
|
Link-Timezone into containers.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
AVALANCHE:
|
AVALANCHE:
|
||||||
- Archive?
|
- Archive?
|
||||||
- Monitoring https://docs.avax.network/build/tools/dashboards/README
|
- Monitoring https://docs.avax.network/build/tools/dashboards/README
|
||||||
|
|
||||||
|
|
||||||
### Notes
|
### Notes
|
||||||
#### Monitoring
|
#### Monitoring
|
||||||
Telegram get group ids the bot is in:
|
Telegram get group ids the bot is in:
|
||||||
|
|||||||
@@ -17,7 +17,23 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "0021",
|
"id": "0021",
|
||||||
"url": "https://${DOMAIN}/geth"
|
"url": "https://${DOMAIN}/erigon"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "0022",
|
||||||
|
"url": "https://${DOMAIN}/erigon"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "0028",
|
||||||
|
"url": "https://${DOMAIN}/erigon"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "0027",
|
||||||
|
"url": "https://${DOMAIN}/xdai"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "0005",
|
||||||
|
"url": "https://${DOMAIN}/fuse"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "0040",
|
"id": "0040",
|
||||||
|
|||||||
@@ -45,3 +45,9 @@ scrape_configs:
|
|||||||
honor_labels: true
|
honor_labels: true
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ['pocket-fr-1:8083']
|
- targets: ['pocket-fr-1:8083']
|
||||||
|
|
||||||
|
- job_name: 'traefik'
|
||||||
|
scrape_interval: 10s
|
||||||
|
honor_labels: true
|
||||||
|
static_configs:
|
||||||
|
- targets: ['traefik:8082']
|
||||||
@@ -28,6 +28,14 @@
|
|||||||
[entryPoints.websecure]
|
[entryPoints.websecure]
|
||||||
address = ":443"
|
address = ":443"
|
||||||
|
|
||||||
|
[entryPoints]
|
||||||
|
[entryPoints.metrics]
|
||||||
|
address = ":8082"
|
||||||
|
|
||||||
|
# Monitoring
|
||||||
|
[metrics]
|
||||||
|
[metrics.prometheus]
|
||||||
|
entryPoint = "metrics"
|
||||||
|
|
||||||
################################################################
|
################################################################
|
||||||
# Traefik logs configuration
|
# Traefik logs configuration
|
||||||
|
|||||||
Reference in New Issue
Block a user