feat(deploy): build docmost from acadedoc fork instead of upstream image
Some checks are pending
CI / Lint bridge (Biome) (push) Waiting to run
CI / Type-check bridge (push) Blocked by required conditions
CI / Tests unit bridge (push) Blocked by required conditions
CI / Tests integration bridge (push) Blocked by required conditions
CI / Security scan (push) Waiting to run
CI / Docker build + healthcheck (push) Blocked by required conditions
E2E Playwright / Playwright e2e (chromium) (push) Waiting to run

- 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
This commit is contained in:
Corentin JOGUET 2026-05-10 15:54:05 +02:00
parent 90a7de3388
commit 173c4e14f9
2 changed files with 15 additions and 3 deletions

View file

@ -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

View file

@ -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: