# Docker Compose Configuration

## Active Configuration
- **Primary**: compose.yml (production setup with all services)
- **Development**: compose.dev.yml (development setup)

## Archived Files
- deploy-production/ directory contains legacy production deployment files

## Usage
```bash
# Start all services
docker-compose up -d

# Stop all services  
docker-compose down
```

## Environment Variables
Configure in .env file. Key variables:
- PAPERLESS_API_URL=https://vhtv-stiftung.de/paperless
- PAPERLESS_API_TOKEN=your_api_token_here

## Paperless Integration
The system integrates with Paperless NGX for document management:
- Documents are filtered by tags (Destinatäre, Land/Pächter, Administration)
- API calls use external URL for reliability
- Authentication via API token

## Services
- **web**: Django application (port 8081)
- **worker**: Celery worker for background tasks
- **beat**: Celery beat scheduler
- **db**: PostgreSQL database
- **redis**: Redis for caching and task queue
- **paperless**: Paperless NGX document management
- **grampsweb**: Gramps genealogy web interface