..
2026-04-17 17:00:35 -07:00
2026-04-17 17:00:35 -07:00
2026-04-17 17:00:35 -07:00

Docmost

Docmost is an open-source collaborative documentation and wiki software.

Accessible at https://documentation.whitney.rip.

Setup

  1. Copy the example env file and fill in real values:

    cp .env.example .env
    
  2. Generate secrets:

    # App secret (32+ characters)
    openssl rand -hex 32
    
    # Postgres password
    openssl rand -hex 16
    
  3. Start the stack:

    docker compose up -d
    

Health Check

https://documentation.whitney.rip/api/health

Creating Users

Cannot be created manually, have to do manually via db insert.

  1. Exec to container
docker exec -it docmost-db-1 psql -U docmost -d docmost
  1. Obtain WORKSPACE_ID from the users table. Generate random password
select workspace_id from users;
  1. Exit psql and generate random passord.
docker exec docmost-docmost-1 node -e "console.log(require('bcrypt').hashSync('REPLACE_PASSWORD', 12))"
  1. Insert
INSERT INTO users (name, email, password, role, workspace_id, email_verified_at) VALUES ('Jake', 'jake@runyan.dev', '$2b$10$BEiObFC7osNTuY9GcQvV6eCU6vHKQjwohrr/uPPBFzlO27jLvQCHy', 'admin', '019d9dbf-daf5-7652-90d6-33ee72c883a1', now());