fix: add the correct log mount for app logs
As per documentation, the `/var/log/dokku/apps` should be mounted from the host to the container. The existing mount was `/var/log/dokku` mounted to `/var/logs/dokku/apps`. The broken mount will be removed in the next minor.
This commit is contained in:
committed by
GitHub
parent
b0677fefa7
commit
18a6ba90f9
@@ -73,6 +73,7 @@ func startVectorContainer(vectorImage string) error {
|
||||
"--volume", "/var/lib/dokku/data/logs/vector.json:/etc/vector/vector.json",
|
||||
"--volume", "/var/run/docker.sock:/var/run/docker.sock",
|
||||
"--volume", common.MustGetEnv("DOKKU_LOGS_HOST_DIR") + ":/var/logs/dokku/apps",
|
||||
"--volume", common.MustGetEnv("DOKKU_LOGS_HOST_DIR") + "/apps:/var/log/dokku/apps",
|
||||
vectorImage,
|
||||
"--config", "/etc/vector/vector.json", "--watch-config", "1"}, " "))
|
||||
cmd.ShowOutput = false
|
||||
|
||||
Reference in New Issue
Block a user