Docker-compose logging

I have a docker-compose file which looks like this:

version: "3"

services:
    nexus:
       image: sonatype/nexus3
    volumes:
       - "nexus-data:/nexus-data"
    ports:
       - "8081:8081"

volumes:
    nexus-data: {}

It runs fine and I can access the application but it logs to stdout, I would like it to log to log files like tomcat logs to catalina.out.
Can someone help me in the right direction?

OS: OS X 10.11.6