This folder contains the production-ready DataHub Docker Compose setup with Aiven PostgreSQL and Kafka integration.
docker-compose.yml- Main Docker Compose configuration (production-ready).gitignore- Security protection for sensitive files
aiven-ca.pem.template- Template for Aiven CA certificateaiven-postgres-working.yaml- Working PostgreSQL connector configurationaiven-kafka-working-final.yaml- Working Kafka connector configuration
setup-aiven-ca.sh- Interactive CA certificate setup scriptstart-datahub-docker.sh- DataHub startup script with pre-checks
# Option A: Interactive setup
./setup-aiven-ca.sh
# Option B: Manual setup
cp aiven-ca.pem.template aiven-ca.pem
# Edit aiven-ca.pem with your actual Aiven CA certificate# Using the helper script (recommended)
./start-datahub-docker.sh
# Or directly with docker-compose
docker-compose up -d- Frontend: http://localhost:8092
- Backend API: http://localhost:8093
- Default Login:
datahub/datahub
# Test the PostgreSQL connector
docker exec datahub-datahub-actions datahub ingest run -c /tmp/aiven-postgres-working.yaml# Test the Kafka connector (requires CA certificate setup)
docker exec datahub-datahub-actions datahub ingest run -c /tmp/aiven-kafka-working-final.yamlThis setup solves all the common DataHub + Aiven integration issues:
- ✅ PostgreSQL
psycopg2dependency auto-installed - ✅ Memory limits optimized (4GB for actions container)
- ✅ Port conflicts resolved (8092/8093/9201)
- ✅ Aiven SSL/CA certificate integration
- ✅ Neo4j health check issues fixed
- ✅ Security best practices (.gitignore)
If you encounter issues, check the logs:
docker-compose logs -f datahub-gms
docker-compose logs -f datahub-actionsStatus: Production Ready! 🎉