MediaWiki-Docker/Configuration recipes/EventLogging
docker-compose.override.yml
version: '3.7'
services:
eventlogging:
image: docker-registry.wikimedia.org/dev/eventlogging:0.0.1
ports:
- "8100:8100"
LocalSettings.php
wfLoadExtension( 'EventLogging' );
$wgEventLoggingBaseUri = 'http://eventlogging:8100/event.gif';
- Setup commands
- Clone the Extension:EventLogging extension into
extensions/EventLogging
- You can tail the output to the
eventlogging
container withdocker logs -f $(docker-compose ps -q eventlogging)
, or, pipe it tojq
withdocker logs -f $(docker-compose ps -q eventlogging) | jq
or simply startup withdocker-compose up
(no-d
flag). - For client-side logging to work properly, you need to modify your system's
/etc/hosts
file with an entry that looks like this:127.0.0.1 eventlogging