Log Access¶
Basic Rule: Directories from other containers containing logfiles must be configured to be stored into a volume.
Example:
volumes:
tomeelogs:
driver: local
tomee:
[...]
volumes:
- tomeelogs:/usr/local/tomee/logs
Logindex - Container¶
Image: gismbh/insight-logindex
The logindex container is responsible to serve mounted volumes with logfiles via http/s
Volumes should be mounted below /logs
with :ro
The container exposes port 80 to access the logs.
logindex:
image: gismbh/insight-logindex:${INSIGHT_VERSION}
ports:
- 80:80
volumes:
- tomeelogs:/logs/insight:ro