version: '3.8'

services:
  docs:
    build:
      context: .
      dockerfile: Dockerfile
    container_name: goplt-docs
    ports:
      - "8000:8000"
    volumes:
      # Mount current directory for live reload during development
      - .:/docs:ro
    environment:
      - MKDOCS_WATCH_MEDIA=true
    command: mkdocs serve --dev-addr=0.0.0.0:8000
    restart: unless-stopped

