version: '3'
services:
  swagger:
    image: swaggerapi/swagger-ui
    environment:
      - SWAGGER_JSON=/foo/output.yaml
    volumes:
      - ./target:/foo
    ports:
      - "80:8080"