{
  "schemaVersion": "1.0.0",
  "slug": "notion-trainual-confluence",
  "caseNumber": "12",
  "track": "track-b-oci",
  "matchedManagedStackToolId": "docmost",
  "managedStackFlatMonthlyUsd": 69,
  "configureUrl": "https://managedstack.co/configure?tool=docmost&utm_source=byesaas&utm_campaign=notion-trainual-confluence",
  "quickstartCommands": [
    "cp .env.example .env",
    "# Fill in secure secrets inside .env",
    "docker compose up -d"
  ],
  "files": {
    ".env.example": "# Notion Business & Trainual Extinction Pack (Docmost) — Environment Template\n# Replace placeholder values below before deploying. Never commit live secrets.\n\nAPP_SECRET=replace_with_secure_app_secret\nPOSTGRES_PASSWORD=replace_with_secure_postgres_password\nAPP_URL=replace_with_secure_app_url\n",
    "README-DIY.md": "# Notion Business & Trainual Extinction Pack (Docmost)\n\nReplaces: **Notion Business + AI ($20-$28/seat), Trainual ($249-$499/mo)**\n\n## Quickstart (Synthesized Hardened OCI Pack)\nAll ports in `docker-compose.yml` bind strictly to `127.0.0.1` so Postgres/Redis are never exposed to the public internet. Place Caddy, Traefik, or Cloudflare Tunnel in front of `handbook.yourcompany.com`:\n\n```bash\ncp .env.example .env\ndocker compose up -d\n```\n\n## Don't Want to Own 2:00 AM CVE Patching, DB Upgrades & Off-Site Backups?\nLet **ManagedStack.co** deploy, harden, patch, and back up this exact stack on `handbook.yourcompany.com` in 24 hours for **`$69/mo` flat** (unlimited staff seats):\nhttps://managedstack.co/configure?tool=docmost&utm_source=byesaas&utm_campaign=12-notion-trainual-confluence\n",
    "docker-compose.yml": "# Synthesized declaratively by ByeSaaS Extinction Pack Compiler (Track B: Hardened OCI)\n# Target: Notion Business & Trainual Extinction Pack (Docmost) — Pinned version tags, localhost-only ports, no-new-privileges\nname: byesaas-docmost\nservices:\n  postgres:\n    image: postgres:16.6-alpine\n    restart: unless-stopped\n    security_opt:\n      - no-new-privileges:true\n    deploy:\n      resources:\n        limits:\n          memory: 384M\n    environment:\n      POSTGRES_USER: \"docmost\"\n      POSTGRES_PASSWORD: \"${POSTGRES_PASSWORD}\"\n    volumes:\n      - docmost_pg_data:/var/lib/postgresql/data\n    healthcheck:\n      test: [\"CMD-SHELL\",\"pg_isready -U docmost\"]\n      interval: 30s\n      timeout: 10s\n      retries: 5\n  redis:\n    image: redis:7.4.2-alpine\n    restart: unless-stopped\n    security_opt:\n      - no-new-privileges:true\n    deploy:\n      resources:\n        limits:\n          memory: 192M\n    healthcheck:\n      test: [\"CMD\",\"redis-cli\",\"ping\"]\n      interval: 30s\n      timeout: 10s\n      retries: 5\n  docmost:\n    image: docmost/docmost:0.8.2\n    restart: unless-stopped\n    security_opt:\n      - no-new-privileges:true\n    deploy:\n      resources:\n        limits:\n          memory: 450M\n    ports:\n      - \"127.0.0.1:3004:3000\"\n    environment:\n      APP_SECRET: \"${APP_SECRET}\"\n      APP_URL: \"${APP_URL}\"\n      DATABASE_URL: \"postgresql://docmost:${POSTGRES_PASSWORD}@postgres:5432/docmost\"\n      REDIS_URL: \"redis://redis:6379\"\n    depends_on:\n      - postgres\n      - redis\n    volumes:\n      - docmost_storage:/app/data/storage\n    healthcheck:\n      test: [\"CMD-SHELL\",\"wget -qO- http://127.0.0.1:3000 || exit 1\"]\n      interval: 30s\n      timeout: 10s\n      retries: 5\nvolumes:\n  docmost_pg_data:\n  docmost_storage:\n"
  }
}
