Log Access¶
Basic Rule: Directories from other containers containing logfiles must be configured to be stored into a volume.
Example:
volumes:
logs-middleware:
driver: local
middleware:
[...]
volumes:
- logs-middleware:/opt/jboss/wildfly/standalone/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:
- logs-middleware:/logs/middleware:ro