Skip to main content

☁️ Deployment & Operations

Production deployment, environment variables, monitoring, and backups.

Docker

docker pull your-org/apexium-log:latest

Key Environment Variables

VariableDescriptionDefault
DB_URLJDBC URLjdbc:h2:~/apexium
DB_USERDB usernamesa
SF_CLIENT_IDSalesforce Connected App ID(required)
SF_CLIENT_SECRETSalesforce secret(required)
SF_USERNAMEIntegration user(required)
STORAGE_TYPElocal or s3local

Docker Compose Example

version: '3'
services:
apexium:
image: your-org/apexium-log:latest
ports: ["8080:8080"]
environment:
- DB_URL=jdbc:postgresql://postgres:5432/apexium
- SF_CLIENT_ID=...
- SF_CLIENT_SECRET=...
depends_on: [postgres]
postgres:
image: postgres:14
environment:
POSTGRES_DB: apexium
POSTGRES_USER: apexium
POSTGRES_PASSWORD: secret
volumes: [pgdata:/var/lib/postgresql/data]
volumes:
pgdata:

CI/CD (GitHub Actions)

  • Build & test on every push/PR.
  • Publish Docker image on tags or merges to main.
  • Docs are built and deployed to GitHub Pages automatically.

Monitoring & Backups

  • Prometheus metrics via /actuator/prometheus.
  • Alerts: high error rates, slow Salesforce responses, DB failures.
  • Schedule daily DB dumps; if using S3, enable versioning.