- Archive deploy-production directory as deploy-production-archived (legacy) - Add DOCKER_COMPOSE_README.md for documentation - Main configuration now uses compose.yml with working Paperless integration - Paperless API URL configured as https://vhtv-stiftung.de/paperless
37 lines
1.1 KiB
Markdown
37 lines
1.1 KiB
Markdown
# 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 |