{
  "version": 5,
  "script": {
    "version": "0.1.0",
    "changeLog": "Auto-generated draft from TrueNAS traefik 1.0.24"
  },
  "requirements": {
    "locations": ["ApplicationsPerformance"],
    "specifications": ["2CORE"],
    "permissions": ["READ_WRITE_LOCATIONS"],
    "ports": [30384]
  },
  "ensure_directories_exists": [
    {"path": "$LOCATION(ApplicationsPerformance)"},
    {"path": "$LOCATION(ApplicationsPerformance)/traefik"},
    {
      "path": "$LOCATION(ApplicationsPerformance)/traefik/config",
      "owner": {"user": "apps"},
      "snapshot": {"id": "config"}
    },
    {
      "path": "$LOCATION(ApplicationsPerformance)/traefik/acme",
      "owner": {"user": "apps"},
      "snapshot": {"id": "acme"}
    }
  ],
  "app_values": {
    "storage": {
      "config": "$HOST_PATH($LOCATION(ApplicationsPerformance)/traefik/config)",
      "acme": "$HOST_PATH($LOCATION(ApplicationsPerformance)/traefik/acme)"
    },
    "network": {
      "api_port": {"bind_mode": "published", "port_number": 30384}
    },
    "resources": {"limits": {"cpus": 2, "memory": "$MEMORY(10%, 4096)"}}
  }
}
