CashFab Stack: add loki logging
This commit is contained in:
parent
02d7d2cc73
commit
4fd7c58f1e
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,6 @@
|
|||
# The urls to where your loki instance is running
|
||||
LOKI_URL=
|
||||
|
||||
# DNS servers
|
||||
DNS_PRIMARY=9.9.9.9 # Qued9
|
||||
DNS_SECONDARY=149.112.112.112 # Qued9
|
||||
|
|
|
@ -7,6 +7,10 @@ services:
|
|||
- $DNS_PRIMARY
|
||||
- $DNS_SECONDARY
|
||||
command: -email=$IPROYALPAWNS_EMAIL -password='$IPROYALPAWNS_PASSWD' -device-name=$DEVICE_NAME -accept-tos
|
||||
logging:
|
||||
driver: loki
|
||||
options:
|
||||
loki-url: "${LOKI_URL:-http://localhost:3100/loki/api/v1/push}"
|
||||
|
||||
honeygain:
|
||||
restart: on-failure:5
|
||||
|
@ -15,3 +19,7 @@ services:
|
|||
- $DNS_PRIMARY
|
||||
- $DNS_SECONDARY
|
||||
command: -tou-accept -email $HONEYGAIN_EMAIL -pass '$HONEYGAIN_PASSWD' -device $DEVICE_NAME
|
||||
logging:
|
||||
driver: loki
|
||||
options:
|
||||
loki-url: "${LOKI_URL:-http://localhost:3100/loki/api/v1/push}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue