Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Template Docmost #677

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added templates/docmost/assets/logo.png
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please find a decent logo

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@deiucanta I have replaced it with a bigger one. Thanks!

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added templates/docmost/assets/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
57 changes: 57 additions & 0 deletions templates/docmost/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
import { Output, randomPassword, Services } from "~templates-utils";
import { Input } from "./meta";

export function generate(input: Input): Output {
const services: Services = [];

const databasePassword = randomPassword();
const redisPassword = randomPassword();

services.push({
type: "app",
data: {
serviceName: `${input.appServiceName}-web`,
env: [
`APP_URL=http://localhost:3000`,
`APP_SECRET=RMfVaDZLM2iLdf9bSFumjPMxV_B55Cd9p5NcyunHR434XTcQPgMA7m5fbtX_oeH7cR_gDumvqSwNDPq16JIKqA`,
`DATABASE_URL=postgresql://postgres:${databasePassword}@$(PROJECT_NAME)_${input.appServiceName}-db:5432/$(PROJECT_NAME)?schema=public`,
`REDIS_URL=redis://:${redisPassword}@$(PROJECT_NAME)_${input.appServiceName}-redis:6379/0`,
].join("\n"),
source: {
type: "image",
image: input.appServiceImage,
},
domains: [
{
host: "$(EASYPANEL_DOMAIN)",
path: "/",
port: 3000,
},
],
mounts: [
{
type: "volume",
name: "storage",
mountPath: "/app/data/storage",
},
],
},
});

services.push({
type: "postgres",
data: {
serviceName: `${input.appServiceName}-db`,
password: databasePassword,
},
});

services.push({
type: "redis",
data: {
serviceName: `${input.appServiceName}-redis`,
password: redisPassword,
},
});
return { services };
}
74 changes: 74 additions & 0 deletions templates/docmost/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
name: Docmost
description:
Docmost is a secure and versatile self-hosted platform for document management
and collaboration. It enables organizations to efficiently store, manage, and
share documents while maintaining complete control over their data. Docmost is
built to streamline workflows, enhance team collaboration, and ensure data
privacy. It provides an intuitive interface and robust features for document
editing, version control, and seamless integrations with other tools and
services. Designed for businesses of all sizes, Docmost empowers teams to work
smarter and more securely.
instructions: null
changeLog:
- date: 2024-12-21
description: Template Release
links:
- label: Documentation
url: https://docmost.com/docs/
- label: Github
url: https://github.com/Docmost/Docmost
contributors:
- name: Ahson Shaikh
url: https://github.com/Ahson-Shaikh
schema:
type: object
required:
- appServiceName
- appServiceImage
properties:
appServiceName:
type: string
title: App Service Name
default: docmost
appServiceImage:
type: string
title: App Service Image
default: docmost/docmost:0.6.2
benefits:
- title: Secure Document Management
description:
Docmost provides a secure platform for storing and managing your
organization's documents, ensuring data privacy and control.
- title: Enhanced Team Collaboration
description:
Enable seamless collaboration among team members with robust tools for
document editing, sharing, and version control.
- title: Workflow Optimization
description:
Streamline your workflows by integrating Docmost with other tools and
automating repetitive tasks.
features:
- title: Document Version Control
description:
Keep track of document changes with built-in version control, ensuring
transparency and accountability.
- title: Customizable Workspaces
description:
Create tailored workspaces for different teams or projects, allowing for
organized and focused collaboration.
- title: Secure File Sharing
description:
Share documents securely with granular permissions and encryption to
protect sensitive data.
- title: API and Integrations
description:
Extend Docmost's functionality by integrating with your existing tools
using its powerful API.
- title: Cross-Platform Support
description:
Access Docmost on any device, ensuring productivity regardless of location
or platform.
tags:
- Document Management
- Collaboration
- Self-Hosted