Andreas Dueren 5f8238cbc2 Remove CONFIGURATION.md and DEPLOYMENT.md files
Removed documentation files and updated references:
- Deleted CONFIGURATION.md and DEPLOYMENT.md
- Updated Dockerfile to remove CONFIGURATION.md copy
- Updated start.sh to remove CONFIGURATION.md copy
- Fixed license reference back to AGPL-3.0 (Docmost's actual license)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-15 13:50:52 -06:00

Docmost Cloudron Package

This package provides Docmost for Cloudron - an open-source collaborative wiki and documentation platform that serves as a modern alternative to Confluence and Notion.

About Docmost

Docmost is a collaborative documentation platform featuring:

  • Real-time collaborative editing
  • Diagram support (Draw.io, Excalidraw, Mermaid)
  • Page history and version control
  • Permissions management
  • Multilingual support (10+ languages)
  • Rich text editing with modern UI

Prerequisites

  • Cloudron CLI installed (npm install -g cloudron)
  • Access to a Cloudron instance
  • Docker (for building)

Building the Package

  1. Clone this repository:

    git clone <repository-url>
    cd docmost-cloudron
    
  2. Build the Cloudron package:

    cloudron build
    

Installation

  1. Install the package on your Cloudron:

    cloudron install --location docmost
    
  2. After installation, access your Docmost instance at the configured domain.

  3. Complete the initial setup by creating your first workspace and admin account.

Configuration

Environment Variables

The package automatically configures the following through Cloudron:

  • Database: PostgreSQL (via CLOUDRON_POSTGRESQL_URL)
  • Redis: Session and collaboration caching (via CLOUDRON_REDIS_URL)
  • Email: SMTP configuration (via CLOUDRON_MAIL_SMTP_*)
  • Storage: Local file storage in /app/data/uploads
  • Authentication: OIDC integration with Cloudron users

Custom Configuration

Additional configuration can be done through environment variables in the Cloudron app settings:

  • FILE_UPLOAD_SIZE_LIMIT: Maximum file upload size (default: 50mb)
  • JWT_TOKEN_EXPIRES_IN: JWT token expiration (default: 30d)

Features

Collaboration

  • Real-time collaborative editing
  • Comments and suggestions
  • Page history and version control
  • User permissions and workspace management

Content Creation

  • Rich text editor with markdown support
  • Tables, lists, and formatting options
  • Image and file uploads
  • Math equations (LaTeX support)

Diagrams

  • Draw.io integration for flowcharts and diagrams
  • Excalidraw for hand-drawn style diagrams
  • Mermaid for text-based diagrams

Organization

  • Nested page structure
  • Search functionality
  • Tags and categorization
  • Page templates

Troubleshooting

Build Issues

If the build fails, try:

  1. Clean build:

    git clean -fdx
    cloudron build
    
  2. Check logs:

    cloudron logs --app docmost
    

Installation Issues

  1. Check app status:

    cloudron status --app docmost.yourdomain.com
    
  2. Restart the app:

    cloudron restart --app docmost.yourdomain.com
    

Performance Issues

  • Increase memory allocation in Cloudron app settings if needed (minimum 512MB recommended)
  • Monitor disk usage for file uploads in /app/data/uploads

Development

Local Development

To modify the package:

  1. Edit the relevant files (Dockerfile, start.sh, nginx.conf, etc.)
  2. Commit changes to git
  3. Rebuild and test:
    git add . && git commit -m "Update configuration"
    cloudron build --tag $(date +%s)
    

Testing

Test the package locally:

  1. Build with a test tag
  2. Install on a test domain
  3. Verify all features work correctly
  4. Check logs for any errors

Support

For issues related to:

License

This Cloudron package is provided under the same license as Docmost (AGPL-3.0).

Version History

  • 0.1.2: Initial working version with OIDC authentication
  • 0.1.1: Build fixes for pnpm and dependencies
  • 0.1.0: Initial package structure

Contributing

  1. Fork this repository
  2. Create a feature branch
  3. Make your changes
  4. Test thoroughly
  5. Submit a pull request

Please ensure all changes are tested on a real Cloudron instance before submitting.

Description
No description provided
Readme MIT 88 KiB
Languages
Shell 84.9%
Dockerfile 15.1%