{
  "id": "monica",
  "name": "Monica",
  "slogan": "A personal CRM that remembers the people in your life, with notes, reminders, activities and relationships.",
  "category": "Productivity",
  "categorySlug": "productivity",
  "tags": [
    "mysql",
    "multi-service"
  ],
  "license": {
    "spdx": "AGPL-3.0-or-later",
    "class": "network-copyleft"
  },
  "memoryMiB": 512,
  "architectures": {
    "amd64": "published",
    "arm64": "published"
  },
  "trust": "listed",
  "verified": false,
  "status": "active",
  "installCommand": "levelrail-cli templates install monica --name my-monica",
  "deployFormats": [
    "cli",
    "api"
  ],
  "url": "https://levelrail.com/templates/monica/",
  "docsUrl": "https://github.com/monicahq/monica/blob/main/docs/installation/docker.md",
  "sourceRepo": "https://github.com/monicahq/monica",
  "markdownUrl": "https://levelrail.com/templates/monica.md",
  "jsonUrl": "https://levelrail.com/templates/monica.json",
  "indexable": true,
  "description": "A personal CRM that remembers the people in your life, with notes, reminders, activities and relationships.",
  "pinnedTag": "11.8",
  "licenseUrl": "https://github.com/monicahq/monica/blob/main/LICENSE.md",
  "licenseClassLabel": "Network copyleft (AGPL) license",
  "needsConfig": false,
  "gpu": false,
  "firstRun": [],
  "services": [
    {
      "name": "mariadb",
      "image": "mariadb",
      "tag": "11.8",
      "ports": [],
      "volumes": [
        "mariadb -> /var/lib/mysql"
      ]
    },
    {
      "name": "monica",
      "image": "monica",
      "tag": "4.1.2-apache",
      "ports": [
        80
      ],
      "volumes": [
        "storage -> /var/www/html/storage"
      ]
    }
  ],
  "env": [
    {
      "service": "mariadb",
      "name": "MYSQL_DATABASE",
      "kind": "preset"
    },
    {
      "service": "mariadb",
      "name": "MYSQL_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "mariadb",
      "name": "MYSQL_ROOT_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "mariadb",
      "name": "MYSQL_USER",
      "kind": "preset"
    },
    {
      "service": "monica",
      "name": "APP_ENV",
      "kind": "preset"
    },
    {
      "service": "monica",
      "name": "APP_KEY",
      "kind": "generated"
    },
    {
      "service": "monica",
      "name": "APP_URL",
      "kind": "preset"
    },
    {
      "service": "monica",
      "name": "DB_CONNECTION",
      "kind": "preset"
    },
    {
      "service": "monica",
      "name": "DB_DATABASE",
      "kind": "preset"
    },
    {
      "service": "monica",
      "name": "DB_HOST",
      "kind": "preset"
    },
    {
      "service": "monica",
      "name": "DB_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "monica",
      "name": "DB_PORT",
      "kind": "preset"
    },
    {
      "service": "monica",
      "name": "DB_USERNAME",
      "kind": "preset"
    }
  ],
  "verifiedTag": null,
  "verifiedArches": [],
  "aliases": [],
  "findings": [],
  "compose": null,
  "deploy": {
    "cli": "levelrail-cli templates install monica --name my-monica",
    "api": "curl -X POST -H \"Authorization: Bearer $TOKEN\" -H \"Content-Type: application/json\" \\\n  https://levelrail.example.com/api/v1/service-templates/monica/install \\\n  -d '{\n    \"name\": \"my-monica\"\n  }'",
    "stack": null,
    "terraform": null,
    "formats": [
      {
        "id": "cli",
        "label": "CLI",
        "lang": "bash",
        "code": "levelrail-cli templates install monica --name my-monica",
        "note": "Add --domain SERVICE=HOST to serve a service on your own domain, for example --domain mariadb=app.example.com."
      },
      {
        "id": "api",
        "label": "API",
        "lang": "bash",
        "code": "curl -X POST -H \"Authorization: Bearer $TOKEN\" -H \"Content-Type: application/json\" \\\n  https://levelrail.example.com/api/v1/service-templates/monica/install \\\n  -d '{\n    \"name\": \"my-monica\"\n  }'",
        "note": "Create a token in the dashboard first. Name, env and domains are the request fields."
      }
    ]
  }
}
