Skip to content

Commit

Permalink
docker-compose config - bind mount /run/service_logs/ in Agent contai…
Browse files Browse the repository at this point in the history
…ner (#1236)

This mounts the service_logs directory at /run/service_logs for the purpose
of testing the journald input. It is a workaround but an upstream bug.

Closes #1235
  • Loading branch information
andrewkroh authored Apr 25, 2023
1 parent 6d6579d commit ee74094
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/stack/_static/docker-compose-stack.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@ services:
- type: bind
source: ../../../tmp/service_logs/
target: /tmp/service_logs/
# Mount service_logs under /run too as a testing workaround for the journald input (see elastic-package#1235).
- type: bind
source: ../../../tmp/service_logs/
target: /run/service_logs/

elastic-agent_is_ready:
image: tianon/true
Expand Down

0 comments on commit ee74094

Please sign in to comment.