diff --git a/DOCKER_COMPOSE_README.md b/DOCKER_COMPOSE_README.md new file mode 100644 index 0000000..16739be --- /dev/null +++ b/DOCKER_COMPOSE_README.md @@ -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 \ No newline at end of file diff --git a/deploy-production/MIGRATION_PLAN.md b/deploy-production-archived/MIGRATION_PLAN.md similarity index 100% rename from deploy-production/MIGRATION_PLAN.md rename to deploy-production-archived/MIGRATION_PLAN.md diff --git a/deploy-production/deploy.sh b/deploy-production-archived/deploy.sh similarity index 100% rename from deploy-production/deploy.sh rename to deploy-production-archived/deploy.sh diff --git a/deploy-production/docker-compose.prod.yml b/deploy-production-archived/docker-compose.prod.yml similarity index 100% rename from deploy-production/docker-compose.prod.yml rename to deploy-production-archived/docker-compose.prod.yml diff --git a/deploy-production/fix-paths.sh b/deploy-production-archived/fix-paths.sh similarity index 100% rename from deploy-production/fix-paths.sh rename to deploy-production-archived/fix-paths.sh diff --git a/deploy-production/migrate-data.sh b/deploy-production-archived/migrate-data.sh similarity index 100% rename from deploy-production/migrate-data.sh rename to deploy-production-archived/migrate-data.sh diff --git a/deploy-production/nginx.conf b/deploy-production-archived/nginx.conf similarity index 100% rename from deploy-production/nginx.conf rename to deploy-production-archived/nginx.conf diff --git a/deploy-production/server-setup.sh b/deploy-production-archived/server-setup.sh similarity index 100% rename from deploy-production/server-setup.sh rename to deploy-production-archived/server-setup.sh diff --git a/deploy-production/setup-paperless.sh b/deploy-production-archived/setup-paperless.sh similarity index 100% rename from deploy-production/setup-paperless.sh rename to deploy-production-archived/setup-paperless.sh