services:
  web:
    build:
      context: .
      dockerfile: Dockerfile
    ports:
      - "8000:8000"
    volumes:
      # Song library folder on NAS
      - /volume1/music/feedBack:/dlc
      # Persistent config, cache, favorites, loops, practice data
      - feedBack-config:/config
    environment:
      - DLC_DIR=/dlc
      - CONFIG_DIR=/config
      # Logging (optional)
      # - LOG_LEVEL=INFO        # DEBUG | INFO | WARNING | ERROR  (default: INFO)
      # - LOG_FORMAT=json       # json | text  (default: text)
      # - LOG_FILE=/config/feedBack.log  # also write to a persistent file
    restart: unless-stopped

volumes:
  feedBack-config:
