- Clone this repository
git clone https://github.com/ssurenr/ebi-ops-challenge.git cd ebi-ops-challenge
- Bring up containers using docker compose
docker-compose up -d
- Start rsyslog agent in the web container
docker exec -it web /etc/init.d/rsyslog start
- Generate some traffic.
curl localhost:8080
- View the access logs from MySQL
mysql -u rsyslog -h 127.0.0.1 rsyslog -e "SELECT Message FROM SystemEvents;" -prsyslog
docker.for.mac.host.internal
domain to your host's ip address in the following files before executing step 2 above.
docker-compose down
docker volume rm dbvolume