-
Notifications
You must be signed in to change notification settings - Fork 1
Deployment Guide
Athena Auto-Operator edited this page Jun 8, 2026
·
1 revision
docker build -t maref:latest .docker run -d \
--name maref \
-p 8000:8000 \
-e MAREF_SAFETY_LEVEL=production \
maref:latestversion: '3.8'
services:
maref:
image: maref:latest
ports:
- "8000:8000"
environment:
MAREF_SAFETY_LEVEL: production
volumes:
- maref-data:/data
restart: unless-stopped
volumes:
maref-data:kubectl apply -f k8s/production/| Resource | Purpose |
|---|---|
| Deployment | Main application |
| Service | Internal networking |
| Ingress | External access |
| ConfigMap | Environment configuration |
| Secret | Sensitive credentials |
# Package for Lambda
zip -r maref-lambda.zip .gcloud run deploy maref \
--image gcr.io/PROJECT/maref:latest \
--port 8000 \
--allow-unauthenticated-
MAREF_SAFETY_LEVEL=productionset - All 8 defense layers enabled
- Minimum OS permissions granted
- Audit logging configured
- Prometheus monitoring active
- CircuitBreaker alerting set up
- Dependencies up to date
- TLS certificates valid
- Database backups configured
- Incident response plan documented
| Variable | Default | Description |
|---|---|---|
MAREF_SAFETY_LEVEL |
development |
Safety enforcement level |
MAREF_PORT |
8000 |
Service port |
MAREF_LOG_LEVEL |
info |
Logging verbosity |
MAREF_HMAC_KEY |
(required in prod) | Audit log signing key |
MAREF_TRUST_DB |
./trust.db |
Trust score database path |
© 2026 MAREF Contributors. Licensed under Apache-2.0.