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>
4.1 KiB
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
-
Clone this repository:
git clone <repository-url> cd docmost-cloudron
-
Build the Cloudron package:
cloudron build
Installation
-
Install the package on your Cloudron:
cloudron install --location docmost
-
After installation, access your Docmost instance at the configured domain.
-
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:
-
Clean build:
git clean -fdx cloudron build
-
Check logs:
cloudron logs --app docmost
Installation Issues
-
Check app status:
cloudron status --app docmost.yourdomain.com
-
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:
- Edit the relevant files (
Dockerfile
,start.sh
,nginx.conf
, etc.) - Commit changes to git
- Rebuild and test:
git add . && git commit -m "Update configuration" cloudron build --tag $(date +%s)
Testing
Test the package locally:
- Build with a test tag
- Install on a test domain
- Verify all features work correctly
- Check logs for any errors
Support
For issues related to:
- Docmost application: Visit Docmost GitHub
- Cloudron packaging: Create an issue in this repository
- Cloudron platform: Visit Cloudron Documentation
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
- Fork this repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
Please ensure all changes are tested on a real Cloudron instance before submitting.