# Docker Compose file for the AliasVault documentation (Docusaurus).
#
# Serves the pre-built static site (`build/`) with nginx. The site has
# to be built manually with `npm ci && npm run build` first (in CI or manually locally).
#
# Usage (after `npm ci && npm run build`):
#   npm ci && npm run build
#   docker compose up -d --build
#   docker compose down
#
services:
  docs:
    build:
      context: .
    ports:
      - "127.0.0.1:5191:80"
    restart: unless-stopped
