- New OCI Services page with Service Status (auto-detect + overrides) and OCI Health (real-time Oracle status) tabs - Compliance report: OCI Services section with Cloud Guard recommendations table, back page with Connect with us - DOCX generation: professional styling with Pillow camouflage strip, green header tables, result boxes - Separate Download DOCX button in reports page - Timezone now per-user (not global) — each user configures their own timezone - ADB connection pre-check before report generation (fail fast 503) - Compliance report iframe shows friendly HTML instead of JSON 404 during generation - OCI Health dashboard: proxies ocistatus.oraclecloud.com with search, geo filters, expandable region cards
66 lines
1.4 KiB
YAML
66 lines
1.4 KiB
YAML
services:
|
|
backend:
|
|
build:
|
|
context: ./backend
|
|
dockerfile: Dockerfile
|
|
container_name: oci-agent-backend
|
|
restart: unless-stopped
|
|
environment:
|
|
- APP_SECRET=${APP_SECRET:-change-me-in-production-use-a-long-random-string}
|
|
- JWT_EXPIRY_HOURS=${JWT_EXPIRY_HOURS:-12}
|
|
- DATA_DIR=/data
|
|
- CORS_ORIGINS=${CORS_ORIGINS:-}
|
|
- TZ=${TZ:-America/Sao_Paulo}
|
|
- OCI_CLI_SUPPRESS_FILE_PERMISSIONS_WARNING=True
|
|
volumes:
|
|
- agent-data:/data
|
|
networks:
|
|
- agent-net
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:8000/api/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-size: "10m"
|
|
max-file: "3"
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 4G
|
|
|
|
frontend:
|
|
image: nginx:alpine
|
|
container_name: oci-agent-frontend
|
|
restart: unless-stopped
|
|
environment:
|
|
- TZ=${TZ:-America/Sao_Paulo}
|
|
volumes:
|
|
- ./frontend-react/dist:/usr/share/nginx/html/app:ro
|
|
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf:ro
|
|
ports:
|
|
- "${PORT:-8080}:80"
|
|
depends_on:
|
|
- backend
|
|
networks:
|
|
- agent-net
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-size: "5m"
|
|
max-file: "3"
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 512M
|
|
|
|
volumes:
|
|
agent-data:
|
|
driver: local
|
|
|
|
networks:
|
|
agent-net:
|
|
driver: bridge
|