From 173c4e14f9f51a4685ba93cd83f1a203dcd6fac1 Mon Sep 17 00:00:00 2001 From: Corentin JOGUET Date: Sun, 10 May 2026 15:54:05 +0200 Subject: [PATCH] feat(deploy): build docmost from acadedoc fork instead of upstream image - compose.yml : replace 'image: docmost/docmost:latest' with build context pointing to ./docmost (the AcadeDoc fork repo cloned separately) - Image tagged 'acadenice/acadedoc:local' for visibility in docker images - README : document the two-clone setup (formation-hub + AcadeDoc fork) required to run the stack with all Acadenice extensions Without this change, prod runs vanilla Docmost without any of the 30+ AcadeDoc commits (api-keys, audit-log, OIDC, sync blocks, templates, comments threads, mentions, graph view, timeline, branding, Brevo SMTP). Fork remote: https://git.acadenice.com/AcadeNice/AcadeDoc.git Branch: acadenice/main --- README.md | 13 +++++++++++-- compose.yml | 5 ++++- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5ced757..b27c5f5 100644 --- a/README.md +++ b/README.md @@ -37,16 +37,25 @@ Phase 1+ : voir `docs/04-cahier-des-charges-techniques.md` section roadmap. ## Demarrage local +Le service `docmost` est build depuis le fork **AcadeDoc** (extensions Acadenice : api-keys, audit-log, OIDC, sync blocks, templates, comments threads, mentions, graph view, timeline, branding...). Le fork est un repo separe a cloner DANS `formation-hub/docmost/` (gitignore) : + ```bash +# 1. Clone le fork AcadeDoc dans formation-hub/docmost +git clone -b acadenice/main https://git.acadenice.com/AcadeNice/AcadeDoc.git docmost + +# 2. Config env cp .env.example .env # editer .env avec des secrets reels + +# 3. Build + up make up ``` -- Docmost : http://localhost:3000 +- AcadeDoc (Docmost fork) : http://localhost:3000 - Baserow : http://localhost:8080 +- Bridge : http://localhost:4000 -Premier lancement : creer un compte admin Docmost et Baserow via l'UI. +Premier lancement : creer un compte admin AcadeDoc et Baserow via l'UI. ## Documentation diff --git a/compose.yml b/compose.yml index 0a85a7f..80098f1 100644 --- a/compose.yml +++ b/compose.yml @@ -24,7 +24,10 @@ services: command: redis-server --appendonly yes docmost: - image: docmost/docmost:latest + build: + context: ./docmost + dockerfile: Dockerfile + image: acadenice/acadedoc:local restart: unless-stopped depends_on: docmost-db: