Data inside loki container isnt persister when loki service is removed.
loki saves data in this container path
|
path_prefix: /tmp/loki |
|
storage: |
|
filesystem: |
|
chunks_directory: /tmp/loki/chunks |
|
rules_directory: /tmp/loki/rules |
no volume saves loki data to make it persistent on docker-compose down etc.
|
loki: |
|
build: |
|
context: loki |
|
args: |
|
UPSTREAM_VERSION: 2.7.3 |
|
command: "-config.file=/etc/loki/local-config.yaml" |
|
restart: always |
|
image: "loki.dms.dnp.dappnode.eth:1.0.1" |
|
volumes: |
|
grafana_data: {} |
|
prometheus_data: {} |
|
manager_data: {} |
|
prometheus_file_sd: {} |
This isnt entirely bad, as container logs arent that necessary overall and DMS shouldnt get restarted or reinstalled frequently
Data inside loki container isnt persister when loki service is removed.
loki saves data in this container path
DAppNodePackage-DMS/loki/local-config.yaml
Lines 9 to 13 in bc7ee8e
no volume saves loki data to make it persistent on docker-compose down etc.
DAppNodePackage-DMS/docker-compose.yml
Lines 70 to 82 in bc7ee8e
This isnt entirely bad, as container logs arent that necessary overall and DMS shouldnt get restarted or reinstalled frequently