guix-machines/unguix/loki-home-rekahsoft-ca/loki.sh
2022-03-20 22:31:46 -04:00

14 lines
426 B
Bash

#!/usr/bin/env bash
docker run -d \
--restart unless-stopped \
-v /var/lib/loki/config:/mnt/config \
-p 3100:3100 \
docker.nexus.home.rekahsoft.ca/grafana/loki:1.6.0 -config.file=/mnt/config/loki-config.yaml
docker run -d \
--restart unless-stopped \
-v /var/lib/loki/config:/mnt/config \
-v /var/log:/var/log \
docker.nexus.home.rekahsoft.ca/grafana/promtail:1.6.0 -config.file=/mnt/config/promtail-config.yaml