{"id":28,"date":"2026-04-25T06:42:00","date_gmt":"2026-04-24T23:42:00","guid":{"rendered":"https:\/\/labku.fyi\/?p=28"},"modified":"2026-04-25T06:42:28","modified_gmt":"2026-04-24T23:42:28","slug":"docmost","status":"publish","type":"post","link":"https:\/\/labku.fyi\/?p=28","title":{"rendered":"Docmost"},"content":{"rendered":"\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><\/div>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\">\n<p><strong>Docmost <\/strong>is an open-source documentation platform with features such as team collaboration, knowledge base, real-time editing, and easy deployment.<\/p>\n\n\n\n<p>To install Docmost with Docker, you can use <strong>Docker Compose<\/strong>.<br>Before starting, make sure that <strong>Docker<\/strong> is already installed on your VM.<\/p>\n\n\n\n<p>Here\u2019s the <code>docker-compose.yml<\/code> file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>services:\n  docmost:\n    container_name: docmost\n    image: docmost\/docmost:latest\n    depends_on:\n      - db\n      - redis\n    environment:\n      APP_SECRET: 'CHANGE_THIS_SECRET'\n      DATABASE_URL: 'postgresql:\/\/docmost:STRONG_DB_PASSWORD@db:5432\/docmost?schema=public'\n      REDIS_URL: 'redis:\/\/redis:6379'\n    ports:\n      - \"3000:3000\"\n    restart: unless-stopped\n    volumes:\n      - docmost:\/app\/data\/storage\n    networks:\n      - lab\n\n  db:\n    container_name: db-docmost\n    image: postgres:16-alpine\n    environment:\n      POSTGRES_DB: docmost\n      POSTGRES_USER: docmost\n      POSTGRES_PASSWORD: STRONG_DB_PASSWORD\n    restart: unless-stopped\n    ports:\n      - \"5432:5432\"\n    volumes:\n      - db_data:\/var\/lib\/postgresql\/data\n    networks:\n      - lab\n\n  redis:\n    container_name: redis-docmost\n    image: redis:7.2-alpine\n    restart: unless-stopped\n    ports:\n      - \"6380:6379\"\n    volumes:\n      - redis_data:\/data\n    networks:\n      - lab\n\nvolumes:\n  docmost:\n  db_data:\n  redis_data:\n\nnetworks:\n   lab:\n     name: lab\n     driver: bridge<\/code><\/pre>\n\n\n\n<p>\ud83d\udc49 Replace <code>STRONG_DB_PASSWORD<\/code> and <code>APP_SECRET<\/code> with your own secure values.<\/p>\n\n\n\n<p><strong><span style=\"text-decoration: underline;\">Run Docmost<\/span><\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker compose up -d<\/code><\/pre>\n\n\n\n<p><strong><span style=\"text-decoration: underline;\">Verify<\/span><\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker ps\n\ndocker ps | grep docmos\nfac7e8992455   docmost\/docmost:latest          \"docker-entrypoint.s\u2026\"   7 months ago   Up About a minute   0.0.0.0:3000-&gt;3000\/tcp, &#91;::]:3000-&gt;3000\/tcp   porto<\/code><\/pre>\n\n\n\n<p><strong><span style=\"text-decoration: underline;\">Access Docmost<\/span><\/strong><\/p>\n\n\n\n<p>Local: <code>http:\/\/localhost:3005<\/code><br>Remote server: <code>http:\/\/&lt;your-server-ip&gt;:3005<\/code><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Docmost is an open-source documentation platform with features such as team collaboration, knowledge base, real-time editing, and easy deployment. To install Docmost with Docker, you can use Docker Compose.Before starting, make sure that Docker is already installed on your VM&#8230;.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-28","post","type-post","status-publish","format-standard","hentry","category-tech"],"_links":{"self":[{"href":"https:\/\/labku.fyi\/index.php?rest_route=\/wp\/v2\/posts\/28","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/labku.fyi\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/labku.fyi\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/labku.fyi\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/labku.fyi\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=28"}],"version-history":[{"count":1,"href":"https:\/\/labku.fyi\/index.php?rest_route=\/wp\/v2\/posts\/28\/revisions"}],"predecessor-version":[{"id":29,"href":"https:\/\/labku.fyi\/index.php?rest_route=\/wp\/v2\/posts\/28\/revisions\/29"}],"wp:attachment":[{"href":"https:\/\/labku.fyi\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=28"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/labku.fyi\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=28"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/labku.fyi\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=28"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}