Clean up docker-compose configuration
- 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
This commit is contained in:
37
DOCKER_COMPOSE_README.md
Normal file
37
DOCKER_COMPOSE_README.md
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
# 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
|
||||||
Reference in New Issue
Block a user