Skip to content

Commit ee74094

Browse files
authored
docker-compose config - bind mount /run/service_logs/ in Agent container (#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
1 parent 6d6579d commit ee74094

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

internal/stack/_static/docker-compose-stack.yml.tmpl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,10 @@ services:
137137
- type: bind
138138
source: ../../../tmp/service_logs/
139139
target: /tmp/service_logs/
140+
# Mount service_logs under /run too as a testing workaround for the journald input (see elastic-package#1235).
141+
- type: bind
142+
source: ../../../tmp/service_logs/
143+
target: /run/service_logs/
140144

141145
elastic-agent_is_ready:
142146
image: tianon/true

0 commit comments

Comments
 (0)