Lens
Get Started with Apps!
Keywords: lens, freecad, cad, 3d, modeling, design, collaboration
Train: Community
Home Page: https://github.com/FreeCAD/Ondsel-Server
Added: 2025-12-09
Last Updated: 2025-12-10
Lens is a collaborative CAD platform for uploading, viewing, and sharing 3D models with version control, export capabilities, and real-time collaboration tools.
Run as Context- Lens run as root user.
Group: 0 / root
User: 0 / root - MongoDB and Redis runs as any non-root user.
Group: 568 / mongodb
User: 568 / mongodb

Security Capabilities
- Frontend is able to change file ownership arbitrarily
- Frontend is able to change group ID of processes
- Frontend is able to change user ID of processes
App Metadata (Raw File)
{
"1.0.2": {
"healthy": true,
"supported": true,
"healthy_error": null,
"location": "/__w/apps/apps/trains/community/lens/1.0.2",
"last_update": "2025-12-10 17:04:32",
"required_features": [],
"human_version": "backend-latest_1.0.2",
"version": "1.0.2",
"app_metadata": {
"app_version": "backend-latest",
"capabilities": [
{
"description": "Frontend is able to change file ownership arbitrarily",
"name": "CHOWN"
},
{
"description": "Frontend is able to change group ID of processes",
"name": "SETGID"
},
{
"description": "Frontend is able to change user ID of processes",
"name": "SETUID"
}
],
"categories": [
"productivity"
],
"changelog_url": "https://github.com/FreeCAD/Ondsel-Server/releases",
"date_added": "2025-12-09",
"description": "Lens is a collaborative CAD platform for uploading, viewing, and sharing 3D models with version control, export capabilities, and real-time collaboration tools.",
"home": "https://github.com/FreeCAD/Ondsel-Server",
"host_mounts": [],
"icon": "https://media.sys.truenas.net/apps/lens/icons/icon.svg",
"keywords": [
"lens",
"freecad",
"cad",
"3d",
"modeling",
"design",
"collaboration"
],
"lib_version": "2.1.68",
"lib_version_hash": "7794847346a846f74788f59904571c0ede57ef613a27da5833dc5608caea471c",
"maintainers": [
{
"email": "dev@truenas.com",
"name": "truenas",
"url": "https://www.truenas.com/"
}
],
"name": "lens",
"run_as_context": [
{
"description": "Lens run as root user.",
"gid": 0,
"group_name": "root",
"uid": 0,
"user_name": "root"
},
{
"description": "MongoDB and Redis runs as any non-root user.",
"gid": 568,
"group_name": "mongodb",
"uid": 568,
"user_name": "mongodb"
}
],
"screenshots": [
"https://media.sys.truenas.net/apps/lens/screenshots/screenshot1.png",
"https://media.sys.truenas.net/apps/lens/screenshots/screenshot2.png",
"https://media.sys.truenas.net/apps/lens/screenshots/screenshot3.png",
"https://media.sys.truenas.net/apps/lens/screenshots/screenshot4.png"
],
"sources": [
"https://github.com/FreeCAD/Ondsel-Server",
"https://hub.docker.com/r/amrit3701/lens"
],
"title": "Lens",
"train": "community",
"version": "1.0.2"
},
"schema": {
"groups": [
{
"name": "Lens Configuration",
"description": "Configure Lens"
},
{
"name": "Network Configuration",
"description": "Configure network ports for Lens"
},
{
"name": "Storage Configuration",
"description": "Configure Storage for Lens"
},
{
"name": "Labels Configuration",
"description": "Configure Labels for Lens"
},
{
"name": "Resources Configuration",
"description": "Configure Resources for Lens"
}
],
"questions": [
{
"variable": "lens",
"label": "",
"group": "Lens Configuration",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "db_password",
"label": "Database Password",
"schema": {
"type": "string",
"default": "",
"required": true,
"private": true
}
},
{
"variable": "redis_password",
"label": "Redis Password",
"schema": {
"type": "string",
"default": "",
"required": true,
"private": true
}
},
{
"variable": "hostname",
"label": "Hostname",
"description": "The hostname or IP address where the application will be accessible.</br>\nExamples:</br>\n- truenas.local</br>\n- 192.168.1.100</br>\n- lens.example.com\n",
"schema": {
"type": "string",
"default": "",
"required": true
}
},
{
"variable": "frontend_url",
"label": "Frontend URL",
"description": "Full URL where the frontend will be accessible.</br>\nUse the same hostname/IP as configured above, with port 30306 (or your custom port).</br>\nExamples:</br>\n- http://truenas.local:30306</br>\n- http://192.168.1.100:30306</br>\n- https://lens.example.com\n",
"schema": {
"type": "uri",
"default": "",
"required": true
}
},
{
"variable": "api_url",
"label": "API URL",
"description": "Backend API URL for frontend.</br>\nExamples:</br>\n- http://truenas.local:30305</br>\n- http://192.168.1.100:30305\n",
"schema": {
"type": "uri",
"default": "",
"required": false
}
},
{
"variable": "purchase_peer_url",
"label": "Stripe Purchase URL",
"description": "Stripe payment processing URL",
"schema": {
"type": "string",
"default": ""
}
},
{
"variable": "default_admin_email",
"label": "Default Admin Email",
"description": "Email address for the default admin user",
"schema": {
"type": "string",
"default": "",
"required": true
}
},
{
"variable": "default_admin_username",
"label": "Default Admin Username",
"description": "Username for the default admin user",
"schema": {
"type": "string",
"default": "",
"required": true
}
},
{
"variable": "default_admin_password",
"label": "Admin Password",
"description": "Password for the default admin user",
"schema": {
"type": "string",
"default": "",
"required": true,
"private": true
}
},
{
"variable": "default_admin_name",
"label": "Admin Name",
"description": "Display name for the default admin user",
"schema": {
"type": "string",
"default": "",
"required": true
}
},
{
"variable": "setup_email",
"label": "Setup Email",
"description": "Setup email for notifications (password reset, etc).\n",
"schema": {
"type": "boolean",
"default": false
}
},
{
"variable": "email",
"label": "Email Configuration",
"description": "Configure email for notifications (password reset, etc).",
"schema": {
"type": "dict",
"show_if": [
[
"setup_email",
"=",
true
]
],
"attrs": [
{
"variable": "host",
"label": "SMTP Host",
"schema": {
"type": "string",
"default": "",
"required": true
}
},
{
"variable": "port",
"label": "SMTP Port",
"schema": {
"type": "int",
"min": 1,
"max": 65535,
"default": 587,
"required": true
}
},
{
"variable": "from",
"label": "SMTP From",
"schema": {
"type": "string",
"default": "",
"required": true
}
},
{
"variable": "username",
"label": "SMTP Username",
"schema": {
"type": "string",
"default": "",
"required": true
}
},
{
"variable": "password",
"label": "SMTP Password",
"schema": {
"type": "string",
"default": "",
"required": true,
"private": true
}
},
{
"variable": "security",
"label": "SMTP Security",
"schema": {
"type": "string",
"required": true,
"default": "tls",
"enum": [
{
"value": "tls",
"description": "TLS"
},
{
"value": "ssl",
"description": "SSL"
}
]
}
}
]
}
},
{
"variable": "additional_envs",
"label": "Additional Environment Variables",
"schema": {
"type": "list",
"default": [],
"items": [
{
"variable": "env",
"label": "Environment Variable",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "name",
"label": "Name",
"schema": {
"type": "string",
"required": true
}
},
{
"variable": "value",
"label": "Value",
"schema": {
"type": "string"
}
}
]
}
}
]
}
}
]
}
},
{
"variable": "network",
"label": "",
"group": "Network Configuration",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "frontend_port",
"label": "Frontend Port",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "bind_mode",
"label": "Port Bind Mode",
"description": "The port bind mode.</br>\n- Publish: The port will be published on the host for external access.</br>\n- Expose: The port will be exposed for inter-container communication.</br>\n- None: The port will not be exposed or published.</br>\nNote: If the Dockerfile defines an EXPOSE directive,\nthe port will still be exposed for inter-container communication regardless of this setting.\n",
"schema": {
"type": "string",
"default": "published",
"enum": [
{
"value": "published",
"description": "Publish port on the host for external access"
},
{
"value": "exposed",
"description": "Expose port for inter-container communication"
},
{
"value": "",
"description": "None"
}
]
}
},
{
"variable": "port_number",
"label": "Port Number",
"schema": {
"type": "int",
"default": 30306,
"min": 1,
"max": 65535,
"required": true
}
},
{
"variable": "host_ips",
"label": "Host IPs",
"description": "IPs on the host to bind this port",
"schema": {
"type": "list",
"show_if": [
[
"bind_mode",
"=",
"published"
]
],
"default": [],
"items": [
{
"variable": "host_ip",
"label": "Host IP",
"schema": {
"type": "string",
"required": true,
"$ref": [
"definitions/node_bind_ip"
]
}
}
]
}
}
]
}
},
{
"variable": "backend_port",
"label": "Backend Port",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "bind_mode",
"label": "Port Bind Mode",
"description": "The port bind mode.</br>\n- Publish: The port will be published on the host for external access.</br>\n- Expose: The port will be exposed for inter-container communication.</br>\n- None: The port will not be exposed or published.</br>\nNote: If the Dockerfile defines an EXPOSE directive,\nthe port will still be exposed for inter-container communication regardless of this setting.\n",
"schema": {
"type": "string",
"default": "published",
"enum": [
{
"value": "published",
"description": "Publish port on the host for external access"
},
{
"value": "exposed",
"description": "Expose port for inter-container communication"
},
{
"value": "",
"description": "None"
}
]
}
},
{
"variable": "port_number",
"label": "Port Number",
"schema": {
"type": "int",
"default": 30305,
"min": 1,
"max": 65535,
"required": true
}
},
{
"variable": "host_ips",
"label": "Host IPs",
"description": "IPs on the host to bind this port",
"schema": {
"type": "list",
"show_if": [
[
"bind_mode",
"=",
"published"
]
],
"default": [],
"items": [
{
"variable": "host_ip",
"label": "Host IP",
"schema": {
"type": "string",
"required": true,
"$ref": [
"definitions/node_bind_ip"
]
}
}
]
}
}
]
}
}
]
}
},
{
"variable": "storage",
"label": "",
"group": "Storage Configuration",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "mongodb_data",
"label": "MongoDB Data Storage",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "type",
"label": "Type",
"description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
"schema": {
"type": "string",
"required": true,
"default": "ix_volume",
"enum": [
{
"value": "host_path",
"description": "Host Path (Path that already exists on the system)"
},
{
"value": "ix_volume",
"description": "ixVolume (Dataset created automatically by the system)"
}
]
}
},
{
"variable": "ix_volume_config",
"label": "ixVolume Configuration",
"description": "The configuration for the ixVolume dataset.",
"schema": {
"type": "dict",
"show_if": [
[
"type",
"=",
"ix_volume"
]
],
"$ref": [
"normalize/ix_volume"
],
"attrs": [
{
"variable": "acl_enable",
"label": "Enable ACL",
"description": "Enable ACL for the storage.",
"schema": {
"type": "boolean",
"default": false
}
},
{
"variable": "dataset_name",
"label": "Dataset Name",
"description": "The name of the dataset to use for storage.",
"schema": {
"type": "string",
"required": true,
"hidden": true,
"default": "mongodb_data"
}
},
{
"variable": "acl_entries",
"label": "ACL Configuration",
"schema": {
"type": "dict",
"show_if": [
[
"acl_enable",
"=",
true
]
],
"attrs": []
}
}
]
}
},
{
"variable": "host_path_config",
"label": "Host Path Configuration",
"schema": {
"type": "dict",
"show_if": [
[
"type",
"=",
"host_path"
]
],
"attrs": [
{
"variable": "acl_enable",
"label": "Enable ACL",
"description": "Enable ACL for the storage.",
"schema": {
"type": "boolean",
"default": false
}
},
{
"variable": "acl",
"label": "ACL Configuration",
"schema": {
"type": "dict",
"show_if": [
[
"acl_enable",
"=",
true
]
],
"attrs": [],
"$ref": [
"normalize/acl"
]
}
},
{
"variable": "path",
"label": "Host Path",
"description": "The host path to use for storage.",
"schema": {
"type": "hostpath",
"show_if": [
[
"acl_enable",
"=",
false
]
],
"required": true
}
},
{
"variable": "auto_permissions",
"label": "Automatic Permissions",
"description": "Automatically set permissions for the host path.\nEnabling this, will check the top level directory,</br>\nIf it finds incorrect permissions, it will `chown` the\nhost path to the user and group required for the\npostgres container.\n",
"schema": {
"type": "boolean",
"default": false,
"show_if": [
[
"acl_enable",
"=",
false
]
]
}
}
]
}
}
]
}
},
{
"variable": "uploads",
"label": "Uploads Storage",
"description": "The path to store user uploads.",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "type",
"label": "Type",
"description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
"schema": {
"type": "string",
"required": true,
"default": "ix_volume",
"enum": [
{
"value": "host_path",
"description": "Host Path (Path that already exists on the system)"
},
{
"value": "ix_volume",
"description": "ixVolume (Dataset created automatically by the system)"
}
]
}
},
{
"variable": "ix_volume_config",
"label": "ixVolume Configuration",
"description": "The configuration for the ixVolume dataset.",
"schema": {
"type": "dict",
"show_if": [
[
"type",
"=",
"ix_volume"
]
],
"$ref": [
"normalize/ix_volume"
],
"attrs": [
{
"variable": "acl_enable",
"label": "Enable ACL",
"description": "Enable ACL for the storage.",
"schema": {
"type": "boolean",
"default": false
}
},
{
"variable": "dataset_name",
"label": "Dataset Name",
"description": "The name of the dataset to use for storage.",
"schema": {
"type": "string",
"required": true,
"hidden": true,
"default": "uploads"
}
},
{
"variable": "acl_entries",
"label": "ACL Configuration",
"schema": {
"type": "dict",
"show_if": [
[
"acl_enable",
"=",
true
]
],
"attrs": []
}
}
]
}
},
{
"variable": "host_path_config",
"label": "Host Path Configuration",
"schema": {
"type": "dict",
"show_if": [
[
"type",
"=",
"host_path"
]
],
"attrs": [
{
"variable": "acl_enable",
"label": "Enable ACL",
"description": "Enable ACL for the storage.",
"schema": {
"type": "boolean",
"default": false
}
},
{
"variable": "acl",
"label": "ACL Configuration",
"schema": {
"type": "dict",
"show_if": [
[
"acl_enable",
"=",
true
]
],
"attrs": [],
"$ref": [
"normalize/acl"
]
}
},
{
"variable": "path",
"label": "Host Path",
"description": "The host path to use for storage.",
"schema": {
"type": "hostpath",
"show_if": [
[
"acl_enable",
"=",
false
]
],
"required": true
}
}
]
}
}
]
}
},
{
"variable": "additional_storage",
"label": "Additional Storage",
"schema": {
"type": "list",
"default": [],
"items": [
{
"variable": "storageEntry",
"label": "Storage Entry",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "type",
"label": "Type",
"description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.</br>\nSMB Share: Is a SMB share that is mounted to as a volume.</br>\nNFS Share: Is a NFS share that is mounted to as a volume.\n",
"schema": {
"type": "string",
"required": true,
"default": "ix_volume",
"enum": [
{
"value": "host_path",
"description": "Host Path (Path that already exists on the system)"
},
{
"value": "ix_volume",
"description": "ixVolume (Dataset created automatically by the system)"
},
{
"value": "cifs",
"description": "SMB/CIFS Share (Mounts a volume to a SMB share)"
},
{
"value": "nfs",
"description": "NFS Share (Mounts a volume to a NFS share)"
}
]
}
},
{
"variable": "read_only",
"label": "Read Only",
"description": "Mount the volume as read only.",
"schema": {
"type": "boolean",
"default": false
}
},
{
"variable": "mount_path",
"label": "Mount Path",
"description": "The path inside the container to mount the storage.",
"schema": {
"type": "path",
"required": true
}
},
{
"variable": "host_path_config",
"label": "Host Path Configuration",
"schema": {
"type": "dict",
"show_if": [
[
"type",
"=",
"host_path"
]
],
"attrs": [
{
"variable": "acl_enable",
"label": "Enable ACL",
"description": "Enable ACL for the storage.",
"schema": {
"type": "boolean",
"default": false
}
},
{
"variable": "acl",
"label": "ACL Configuration",
"schema": {
"type": "dict",
"show_if": [
[
"acl_enable",
"=",
true
]
],
"attrs": [],
"$ref": [
"normalize/acl"
]
}
},
{
"variable": "path",
"label": "Host Path",
"description": "The host path to use for storage.",
"schema": {
"type": "hostpath",
"show_if": [
[
"acl_enable",
"=",
false
]
],
"required": true
}
}
]
}
},
{
"variable": "ix_volume_config",
"label": "ixVolume Configuration",
"description": "The configuration for the ixVolume dataset.",
"schema": {
"type": "dict",
"show_if": [
[
"type",
"=",
"ix_volume"
]
],
"$ref": [
"normalize/ix_volume"
],
"attrs": [
{
"variable": "acl_enable",
"label": "Enable ACL",
"description": "Enable ACL for the storage.",
"schema": {
"type": "boolean",
"default": false
}
},
{
"variable": "dataset_name",
"label": "Dataset Name",
"description": "The name of the dataset to use for storage.",
"schema": {
"type": "string",
"required": true,
"default": "storage_entry"
}
},
{
"variable": "acl_entries",
"label": "ACL Configuration",
"schema": {
"type": "dict",
"show_if": [
[
"acl_enable",
"=",
true
]
],
"attrs": []
}
}
]
}
},
{
"variable": "cifs_config",
"label": "SMB Configuration",
"description": "The configuration for the SMB dataset.",
"schema": {
"type": "dict",
"show_if": [
[
"type",
"=",
"cifs"
]
],
"attrs": [
{
"variable": "server",
"label": "Server",
"description": "The server to mount the SMB share.",
"schema": {
"type": "string",
"required": true
}
},
{
"variable": "path",
"label": "Path",
"description": "The path to mount the SMB share.",
"schema": {
"type": "string",
"required": true
}
},
{
"variable": "username",
"label": "Username",
"description": "The username to use for the SMB share.",
"schema": {
"type": "string",
"required": true
}
},
{
"variable": "password",
"label": "Password",
"description": "The password to use for the SMB share.",
"schema": {
"type": "string",
"required": true,
"private": true
}
},
{
"variable": "domain",
"label": "Domain",
"description": "The domain to use for the SMB share.",
"schema": {
"type": "string"
}
}
]
}
},
{
"variable": "nfs_config",
"label": "NFS Configuration",
"description": "The configuration for the NFS dataset.",
"schema": {
"type": "dict",
"show_if": [
[
"type",
"=",
"nfs"
]
],
"attrs": [
{
"variable": "server",
"label": "Server",
"description": "The server to mount the NFS share.",
"schema": {
"type": "string",
"required": true
}
},
{
"variable": "path",
"label": "Path",
"description": "The path to mount the NFS share.",
"schema": {
"type": "string",
"required": true
}
}
]
}
}
]
}
}
]
}
}
]
}
},
{
"variable": "labels",
"label": "",
"group": "Labels Configuration",
"schema": {
"type": "list",
"default": [],
"items": [
{
"variable": "label",
"label": "Label",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "key",
"label": "Key",
"schema": {
"type": "string",
"required": true
}
},
{
"variable": "value",
"label": "Value",
"schema": {
"type": "string",
"required": true
}
},
{
"variable": "containers",
"label": "Containers",
"description": "Containers where the label should be applied",
"schema": {
"type": "list",
"items": [
{
"variable": "container",
"label": "Container",
"schema": {
"type": "string",
"required": true,
"enum": [
{
"value": "backend",
"description": "backend"
},
{
"value": "frontend",
"description": "frontend"
},
{
"value": "api",
"description": "api"
},
{
"value": "celery",
"description": "celery"
},
{
"value": "redis",
"description": "redis"
},
{
"value": "mongo",
"description": "mongo"
}
]
}
}
]
}
}
]
}
}
]
}
},
{
"variable": "resources",
"label": "",
"group": "Resources Configuration",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "limits",
"label": "Limits",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "cpus",
"label": "CPUs",
"description": "CPUs limit for Lens.",
"schema": {
"type": "int",
"default": 2,
"required": true
}
},
{
"variable": "memory",
"label": "Memory (in MB)",
"description": "Memory limit for Lens.",
"schema": {
"type": "int",
"default": 4096,
"required": true
}
}
]
}
}
]
}
}
]
},
"readme": "<h1>Lens</h1> <p><a href=\"https://github.com/FreeCAD/Ondsel-Server\">Lens</a> is a collaborative CAD platform for uploading, viewing, and sharing 3D models with version control, export capabilities, and real-time collaboration tools.</p>",
"changelog": null,
"chart_metadata": {
"app_version": "backend-latest",
"capabilities": [
{
"description": "Frontend is able to change file ownership arbitrarily",
"name": "CHOWN"
},
{
"description": "Frontend is able to change group ID of processes",
"name": "SETGID"
},
{
"description": "Frontend is able to change user ID of processes",
"name": "SETUID"
}
],
"categories": [
"productivity"
],
"changelog_url": "https://github.com/FreeCAD/Ondsel-Server/releases",
"date_added": "2025-12-09",
"description": "Lens is a collaborative CAD platform for uploading, viewing, and sharing 3D models with version control, export capabilities, and real-time collaboration tools.",
"home": "https://github.com/FreeCAD/Ondsel-Server",
"host_mounts": [],
"icon": "https://media.sys.truenas.net/apps/lens/icons/icon.svg",
"keywords": [
"lens",
"freecad",
"cad",
"3d",
"modeling",
"design",
"collaboration"
],
"lib_version": "2.1.68",
"lib_version_hash": "7794847346a846f74788f59904571c0ede57ef613a27da5833dc5608caea471c",
"maintainers": [
{
"email": "dev@truenas.com",
"name": "truenas",
"url": "https://www.truenas.com/"
}
],
"name": "lens",
"run_as_context": [
{
"description": "Lens run as root user.",
"gid": 0,
"group_name": "root",
"uid": 0,
"user_name": "root"
},
{
"description": "MongoDB and Redis runs as any non-root user.",
"gid": 568,
"group_name": "mongodb",
"uid": 568,
"user_name": "mongodb"
}
],
"screenshots": [
"https://media.sys.truenas.net/apps/lens/screenshots/screenshot1.png",
"https://media.sys.truenas.net/apps/lens/screenshots/screenshot2.png",
"https://media.sys.truenas.net/apps/lens/screenshots/screenshot3.png",
"https://media.sys.truenas.net/apps/lens/screenshots/screenshot4.png"
],
"sources": [
"https://github.com/FreeCAD/Ondsel-Server",
"https://hub.docker.com/r/amrit3701/lens"
],
"title": "Lens",
"train": "community",
"version": "1.0.2"
}
}
}Support, maintenance, and documentation for applications within the Community catalog is handled by the TrueNAS community. The TrueNAS Applications Market hosts but does not validate or maintain any linked resources associated with this app.
There currently aren’t any resources available for this application!
Please help the TrueNAS community add resources here or discuss this application in the TrueNAS Community forum.


