version: '2'
services:
  rdf4j:
    environment:
      - APP_LOGGING_LEVEL=${APP_LOGGING_LEVEL}
    ports:
      - 127.0.0.1:8080:8080
    build: .
    restart: always
    volumes:
      - rdf4j_data:/var/rdf4j
      - rdf4j_logs:/usr/local/tomcat/logs

volumes:
  rdf4j_data:
  rdf4j_logs: