Files
LandPPT/docker-compose.yml
T
sligter 16882869c1 feat: Add LandPPT uv configuration and setup scripts
- Updated uv.toml for LandPPT with cache directory and python preference.
- Created comprehensive uv usage guide in Chinese.
- Added Windows setup script (setup.bat) for easy installation and environment setup.
- Implemented Python setup script (setup.py) for cross-platform environment configuration.
- Developed Unix/Linux/macOS setup script (setup.sh) for streamlined project initialization.
2025-07-01 16:34:21 +08:00

43 lines
848 B
YAML

version: '3.8'
services:
landppt:
image: bradleylzh/landppt:latest
container_name: landppt
ports:
- "8000:8000"
volumes:
# Configuration
- ./.env:/app/.env
# Data persistence
- landppt_data:/app/data
- landppt_uploads:/app/uploads
- landppt_reports:/app/research_reports
- landppt_cache:/app/temp
environment:
- PYTHONPATH=/app/src
- PYTHONUNBUFFERED=1
restart: unless-stopped
healthcheck:
test: ["CMD", "./docker-healthcheck.sh"]
interval: 30s
timeout: 30s
retries: 3
start_period: 40s
networks:
- landppt_network
volumes:
landppt_data:
driver: local
landppt_uploads:
driver: local
landppt_reports:
driver: local
landppt_cache:
driver: local
networks:
landppt_network:
driver: bridge