Secure encrypted config manager with FastAPI API and Python client.
2.9K
Encrypted Configuration Manager with Multi-Environment Support, Clustering, HTTPS & Real-time Events
Production-ready encrypted configuration management with multi-environment support, distributed clustering, HTTPS/SSL, Server-Sent Events, and Prometheus metrics.
docker run -d -p 9000:9000 -v opensecureconf-data:/app/data \
lordraw/open-secureconfiguration:latest
docker run -d -p 9443:9000 \
-e OSC_HTTPS_ENABLED=true \
-e OSC_SSL_CERTFILE=/app/certs/cert.pem \
-e OSC_SSL_KEYFILE=/app/certs/key.pem \
-v $(pwd)/cert.pem:/app/certs/cert.pem:ro \
-v $(pwd)/key.pem:/app/certs/key.pem:ro \
-v opensecureconf-data:/app/data \
lordraw/open-secureconfiguration:latest
version: '3.8'
services:
node1:
image: lordraw/open-secureconfiguration:latest
ports: ["9001:9000"]
environment:
- OSC_CLUSTER_ENABLED=true
- OSC_CLUSTER_MODE=replica
- OSC_CLUSTER_NODE_ID=node1:9000
- OSC_CLUSTER_NODES=node2:9000,node3:9000
- OSC_API_KEY=your-secret-key
volumes: [node1-data:/app/data]
networks: [osc-network]
# ... repeat for node2, node3
š Structured Logging: JSON logs with structlog (async non-blocking)
š Detailed Error Messages: Comprehensive error responses with validation details
š CORS Support: Configurable origins for web clients
š OpenAPI/Swagger: Auto-generated API documentation at /docs
š Python Client: Official client library available
python:3.11-slim9000/app/data - Database and encryption salt/app/certs - SSL certificates (if HTTPS enabled)/app/logs - Log files (if OSC_LOG_FILE set)amd64, arm64latest - Latest stable release3.1.0 - SSE3.0.0 - Multi-environment support (breaking changes)2.2.0 - HTTPS/SSL support2.1.0 - Clustering support2.0.0 - Initial stable releasehttp://localhost:9000/docshttp://localhost:9000/redocgit clone https://github.com/lordraw77/OpenSecureConf.git
cd OpenSecureConf
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
pip install -r requirements-dev.txt
# Run tests
pytest
# Run with hot reload
uvicorn main:app --reload --port 9000
MIT License - See LICENSEā file for details
Built with: FastAPI, Uvicorn, Cryptography, SQLAlchemy, Prometheus Client, structlog, sse-starlette
Version 3.1.0 | Maintainer: lordraw77ā
ā Star this repo if you find it useful! ā
Content type
Image
Digest
sha256:fc0f0b193ā¦
Size
63.6 MB
Last updated
7 months ago
docker pull lordraw/open-secureconfiguration