File tree Expand file tree Collapse file tree 2 files changed +14
-18
lines changed
Expand file tree Collapse file tree 2 files changed +14
-18
lines changed Original file line number Diff line number Diff line change @@ -204,6 +204,20 @@ services:
204204 - ./data/loki:/opt/loki
205205 restart : unless-stopped
206206
207+ promtail :
208+ image : grafana/promtail:${PROMTAIL_VERSION:-2.8.2}
209+ environment :
210+ CHARON_LOKI_ADDRESSES : ${CHARON_LOKI_ADDRESSES}
211+ CLUSTER_NAME : ${CLUSTER_NAME}
212+ CLUSTER_PEER : ${CLUSTER_PEER}
213+ command : -config.file=/etc/promtail/config.yml
214+ volumes :
215+ - ./promtail:/etc/promtail
216+ - /var/run/docker.sock:/var/run/docker.sock
217+ networks : [dvnode]
218+ entrypoint : /etc/promtail/run.sh
219+ restart : unless-stopped
220+
207221 # _ _ _ _ _ _
208222 # __ ____ _| (_) __| | __ _| |_ ___ _ __ ___ (_) ___ ___| |_ ___ _ __
209223 # \ \ / / _` | | |/ _` |/ _` | __/ _ \| '__|____ / _ \| |/ _ \/ __| __/ _ \| '__|
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments