From 250202c4f244f1060dc51e8bf546f21dfb5ca82c Mon Sep 17 00:00:00 2001 From: Eric Buckthal Date: Mon, 10 Feb 2025 15:29:24 -0500 Subject: [PATCH] [docs] update vector container volume mount description --- docs/deployment/logs.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/deployment/logs.md b/docs/deployment/logs.md index 3fd7e2048..33ff6953e 100644 --- a/docs/deployment/logs.md +++ b/docs/deployment/logs.md @@ -116,10 +116,12 @@ dokku logs:vector-start --vector-image timberio/vector:latest-debian The `vector` container will be started with the following volume mounts: -- `/var/lib/dokku/data/logs/vector.json:/etc/vector/vector.json` +- `/var/lib/dokku/data/logs:/etc/vector` - `/var/run/docker.sock:/var/run/docker.sock` - `/var/log/dokku/apps:/var/log/dokku/apps` +The `/etc/vector` mount includes the `vector.json` configuration file, but also may be used to provide extra files to the vector container. + The final volume mount - `/var/log/dokku/apps` - may be used for users that wish to ship logs to a file on disk that may be later logrotated. This directory is owned by the `dokku` user and group, with permissions set to `0755`. At this time, log-rotation is not configured for this directory. #### Stopping the Vector container