-
Notifications
You must be signed in to change notification settings - Fork 110
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
Ahson-Shaikh
wants to merge
2
commits into
easypanel-io:main
Choose a base branch
from
Ahson-Shaikh:template-added-docmost
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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!