23.09.2024

An analogue of Notion: a complete self-hosted solution!

In the corporate environment, tasks, tools and services that help to implement the process are called task management platforms. One of them is Notion, which is almost a golden combination of convenience and features, however, it has its own disadvantages.

For a company that wants to keep data private such solutions won't work, especially for teamwork. All data is hosted on the company cloud and is potentially vulnerable to leakage! Let's take a look at how to get Docmost's own Wiki + Task Management platform up and running in a few steps.

How to install and set up quickly?

If you don't have sufficient resources than you can perform actions on powerful cloud servers. Serverspace provides isolated VPS / VDS servers for common and virtualize usage.

Screenshot №1 — Create Server

For deployment we will use Docker, which is a platform for deploying images in a restricted environment or container. If you haven't installed Docker yet, go to the package manager and install with the commands:

apt update && apt install curl docker.io docker-compose

Screenshot №2 — Installation

The web application itself still needs to be downloaded, let's do this by creating a directory for it and downloading the file:

mkdir project
cd project
curl -O https://raw.githubusercontent.com/docmost/docmost/main/docker-compose.yml

Screenshot №3 — Docker compose

Let's open the configuration and configure the future service:

nano docker-compose.yml

Screenshot №4 — Change configuration

It is necessary to replace several basic fields under yours in order for the service to work correctly:

These changes will allow the service components to communicate with each other and perform the necessary actions to create the database. Great! When the service is configured and saved, let's run it through the command:

If you are using the compose plugin, the command will look different: docker compose up -d
docker-compose up -d

Let's go to the browser and write the server address, and also don't forget to specify the 3000 port on which the application is hosted:

Screenshot №5 — Config your environment

Let's fill in the basic fields and start Task Manager's workspace by clicking the Setup Workspace button. That's it! We have a standalone solution in full self-hosted format, where it is possible to create user groups and different spaces!

Screenshot №6 — Create spaces

To transfer data from Notion, export your pages in HTML format. Find the three buttons next to page creation and select import, then your uploaded content will appear in the platform!