43 lines
1.4 KiB
Plaintext
43 lines
1.4 KiB
Plaintext
|
|
# VitePress Docker Configuration
|
||
|
|
# Copy this file to .env and configure your settings
|
||
|
|
|
||
|
|
# ==============================================================================
|
||
|
|
# Port Configuration
|
||
|
|
# ==============================================================================
|
||
|
|
|
||
|
|
# VitePress documentation server port (external:internal)
|
||
|
|
VITEPRESS_PORT=3000
|
||
|
|
|
||
|
|
# API server port for PDF export (external:internal)
|
||
|
|
API_PORT=3001
|
||
|
|
|
||
|
|
# ==============================================================================
|
||
|
|
# Directory Configuration
|
||
|
|
# ==============================================================================
|
||
|
|
|
||
|
|
# Path to your VitePress documentation directory
|
||
|
|
# This directory should contain:
|
||
|
|
# - index.md (home page)
|
||
|
|
# - .vitepress/ (configuration)
|
||
|
|
# - guide/, getting-started/, etc. (documentation folders)
|
||
|
|
#
|
||
|
|
# Example: ./docs or absolute path like /home/user/docs
|
||
|
|
DOCS_DIR=./docs
|
||
|
|
|
||
|
|
# ==============================================================================
|
||
|
|
# PDF Export Configuration
|
||
|
|
# ==============================================================================
|
||
|
|
|
||
|
|
# PDF output will be saved to: ${DOCS_DIR}/dist-pdf/
|
||
|
|
|
||
|
|
# ==============================================================================
|
||
|
|
# Advanced Configuration
|
||
|
|
# ==============================================================================
|
||
|
|
|
||
|
|
# Node environment
|
||
|
|
NODE_ENV=production
|
||
|
|
|
||
|
|
# Puppeteer configuration (for PDF export)
|
||
|
|
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
|
||
|
|
PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium
|