{
  "id": "limesurvey",
  "name": "LimeSurvey",
  "slogan": "A mature, self-hosted online survey tool for building and analyzing anonymous surveys.",
  "category": "Productivity",
  "categorySlug": "productivity",
  "tags": [
    "mysql",
    "redis",
    "multi-service"
  ],
  "license": {
    "spdx": "GPL-2.0-or-later",
    "class": "copyleft"
  },
  "memoryMiB": 512,
  "architectures": {
    "amd64": "published",
    "arm64": "published"
  },
  "trust": "listed",
  "verified": false,
  "status": "active",
  "installCommand": "levelrail-cli templates install limesurvey --name my-limesurvey",
  "deployFormats": [
    "cli",
    "api"
  ],
  "url": "https://levelrail.com/templates/limesurvey/",
  "docsUrl": "https://www.limesurvey.org/manual/",
  "sourceRepo": "https://github.com/LimeSurvey/LimeSurvey",
  "markdownUrl": "https://levelrail.com/templates/limesurvey.md",
  "jsonUrl": "https://levelrail.com/templates/limesurvey.json",
  "indexable": true,
  "description": "A mature, self-hosted online survey tool for building and analyzing anonymous surveys. Runs 3 containers (limesurvey, mariadb, redis), with limesurvey listening on port 80; data is kept in named volumes.",
  "pinnedTag": "latest",
  "licenseUrl": "https://github.com/LimeSurvey/LimeSurvey/blob/master/LICENSE",
  "licenseClassLabel": "Copyleft license",
  "needsConfig": false,
  "gpu": false,
  "firstRun": [],
  "services": [
    {
      "name": "limesurvey",
      "image": "adamzammit/limesurvey",
      "tag": "latest",
      "ports": [
        80
      ],
      "volumes": [
        "limesurvey_upload_data -> /var/www/html/upload",
        "limesurvey_config_data -> /var/www/html/application/config"
      ]
    },
    {
      "name": "mariadb",
      "image": "mariadb",
      "tag": "11",
      "ports": [],
      "volumes": [
        "limesurvey_mariadb_data -> /var/lib/mysql"
      ]
    },
    {
      "name": "redis",
      "image": "redis",
      "tag": "7-alpine",
      "ports": [],
      "volumes": []
    }
  ],
  "env": [
    {
      "service": "limesurvey",
      "name": "LIMESURVEY_ADMIN_EMAIL",
      "kind": "preset"
    },
    {
      "service": "limesurvey",
      "name": "LIMESURVEY_ADMIN_NAME",
      "kind": "preset"
    },
    {
      "service": "limesurvey",
      "name": "LIMESURVEY_ADMIN_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "limesurvey",
      "name": "LIMESURVEY_ADMIN_USER",
      "kind": "preset"
    },
    {
      "service": "limesurvey",
      "name": "LIMESURVEY_DB_HOST",
      "kind": "preset"
    },
    {
      "service": "limesurvey",
      "name": "LIMESURVEY_DB_NAME",
      "kind": "preset"
    },
    {
      "service": "limesurvey",
      "name": "LIMESURVEY_DB_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "limesurvey",
      "name": "LIMESURVEY_DB_USER",
      "kind": "preset"
    },
    {
      "service": "limesurvey",
      "name": "LIMESURVEY_PHP_SESSION_SAVE_HANDLER",
      "kind": "preset"
    },
    {
      "service": "limesurvey",
      "name": "LIMESURVEY_PHP_SESSION_SAVE_PATH",
      "kind": "preset"
    },
    {
      "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"
    }
  ],
  "verifiedTag": null,
  "verifiedArches": [],
  "aliases": [],
  "findings": [
    {
      "code": "unpinned_image",
      "severity": "review",
      "message": "Image is not pinned to a version tag, so a redeploy can pull different code"
    }
  ],
  "compose": null,
  "deploy": {
    "cli": "levelrail-cli templates deploy limesurvey --name my-limesurvey",
    "api": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/limesurvey/deploy",
    "stack": null,
    "terraform": null,
    "formats": [
      {
        "id": "cli",
        "label": "CLI",
        "lang": "bash",
        "code": "levelrail-cli templates deploy limesurvey --name my-limesurvey"
      },
      {
        "id": "api",
        "label": "API",
        "lang": "bash",
        "code": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/limesurvey/deploy",
        "note": "Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove."
      }
    ]
  }
}
