You define a document type, Dodock creates the form, the list and the API.
Dodock is the framework under Dokos. It is a fork of Frappe Framework, published under the MIT licence, that we maintain. It provides the documents, permissions, workflows and REST API that every application of the ecosystem uses.
- Publisher
- Dokos SAS
- Licence
- MIT
- Dokos version
- v5
- Availability
- Dokos Cloud marketplace
- Documentation
- Read the documentation
Who it is for.
- 01You are building an application for your siteYou declare your document types in Python and JSON. Dodock generates the form, the list, the permissions and the REST endpoints.
- 02You run a site and you add a fieldFrom Customize Form, you add a field, a naming rule or a notification without writing code.
- 03You connect an external toolYou create an API key for a user and call /api/resource. A webhook pushes each submitted document to your tool.
How it fits in your Dokos site.
Dodock is the layer under your site. Dokos and every marketplace application are Dodock applications: their documents, roles and background jobs go through it. When you write an application for your site, it installs at the same level as Dokos and reads its documents through the same API.
- Documents it reads and writes
- Every document type of Dokos and of the installed applications
- User, Role, Role Profile and User Permission
- What it adds to your site
- The desk, workspaces, lists, calendars and reports
- Document types (DocType), custom fields and Property Setters
- Workflows, notifications, naming rules and print formats
- The REST API, webhooks, API key authentication and OAuth/OpenID
- The background job manager, prepared reports and the automation engine (beta)
- The @framework/ui Vue.js component library

Server scripts run in a controlled environment.
An administrator writes a server script or a Jinja template from the interface. Dodock runs them in safe_exec, which separates a read-only rendering context from a read-write execution context. Print formats are built in Jinja or in the visual editor, and naming rules set the numbering of each document.

Background jobs and interface components.
The background job manager runs long and scheduled tasks, and prepared reports are calculated offline. Socket.io and Redis Pub/Sub push updates to open browsers. For your own screens, Dodock v5 ships the @framework/ui Vue.js component library, backported from Frappe's develop branch, and reusable e-mail and comment composers.

- 01DocTypesA document type, and everything that comes with itYou declare a DocType with its fields, its links to other documents and its permissions by role. Dodock creates the table, the form, the list with its filters, the calendar view and the report view. An administrator adds a field from Customize Form; Property Setters keep these changes and can also be managed in code in your application.
- 02REST APIA REST API and webhooks for each documentEach DocType exposes
/api/resource/<DocType>to list with fields and filters, read, create, edit and delete. A whitelisted Python method is published at/api/method/<path>. You authenticate by session or with the headerAuthorization: token key:secret, generated on the user record. A webhook sends the document to an external URL on the event you choose. The Document, Database and Query Builder APIs serve the server side. - 03AutomationsWorkflows and automations without codeA workflow defines a document's states, the transitions and the role allowed at each step, with a condition if needed. The automation engine, in beta, chains a trigger and several actions (notification, assignment, web call) in a queue that you can follow. Notifications send an e-mail or an alert on an event or on a date of the document.
How to get it.
- 01On Dokos CloudDodock is installed on every Dokos Cloud site. There is nothing to do, Dodock is the base of Dokos.
- 02Self-hostedCreate your bench with
bench init --frappe-path https://gitlab.com/dokos/dodock your-bench, then follow the installation guide in the documentation. - 03To build an application
bench new-app your_appcreates the skeleton, thenbench --site your-site install-app your_appinstalls it on your site.
Prerequisites
- The installation guide at doc.dokos.io/v5/dodock/installation, for the Python, Node.js, MariaDB and Redis versions
Frequently asked questions.
What is the difference between Dodock and Frappe Framework?
Dodock is a fork of Frappe Framework maintained by Dokos SAS. It keeps the same core and the same API, backports parts of Frappe's develop branch, such as the @framework/ui library, and adds French integrations, such as company lookup by SIREN number with Pappers. The Frappe applications of the marketplace (CRM, Helpdesk, Insights) install on Dodock.
Do I need to code to use it?
Mostly no. Roles, permissions, workflows, notifications, naming rules, custom fields and print formats are set up from the interface. Code is for a dedicated application or an API method.
How do I read my data from another tool?
Create an API key and secret on the user's record, then call GET /api/resource/<DocType> with the header Authorization: token key:secret. The fields, filters, order_by and limit_page_length parameters shape the response. Dokos CLI wraps this API on the command line.
Can a server script break my site?
Server scripts and Jinja templates run in safe_exec, a controlled environment that separates reading from writing. They have no access to the file system or to arbitrary Python modules.
Under which licence?
Dodock is published under the MIT licence at gitlab.com/dokos/dodock. Dokos, the management application, is under GPLv3.
Works with.
Ask us your questions about Dodock.
Describe the application or integration you have in mind, and we will tell you what the framework already provides.