mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-08 23:45:24 +02:00
feat: add HedgeDoc template (#893)
Co-authored-by: Mauricio Siu <siumauricio@icloud.com>
This commit is contained in:
committed by
GitHub
parent
599588d095
commit
d1cc00391e
37
blueprints/hedgedoc/docker-compose.yml
Normal file
37
blueprints/hedgedoc/docker-compose.yml
Normal file
@@ -0,0 +1,37 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
hedgedoc:
|
||||
image: quay.io/hedgedoc/hedgedoc:1.10.8
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
database:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
- CMD_DB_URL=${CMD_DB_URL}
|
||||
- CMD_DOMAIN=${CMD_DOMAIN}
|
||||
- CMD_PROTOCOL_USESSL=${CMD_PROTOCOL_USESSL}
|
||||
- CMD_URL_ADDPORT=${CMD_URL_ADDPORT}
|
||||
volumes:
|
||||
- hedgedoc_uploads:/hedgedoc/public/uploads
|
||||
expose:
|
||||
- "3000"
|
||||
|
||||
database:
|
||||
image: postgres:17.7-alpine
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- POSTGRES_USER=hedgedoc
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||
- POSTGRES_DB=hedgedoc
|
||||
volumes:
|
||||
- hedgedoc_database:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U hedgedoc -d hedgedoc"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
volumes:
|
||||
hedgedoc_uploads:
|
||||
hedgedoc_database:
|
||||
32
blueprints/hedgedoc/hedgedoc.svg
Normal file
32
blueprints/hedgedoc/hedgedoc.svg
Normal file
@@ -0,0 +1,32 @@
|
||||
<!--
|
||||
SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
|
||||
|
||||
SPDX-License-Identifier: LicenseRef-HedgeDoc-Icon-Usage-Guidelines
|
||||
-->
|
||||
<svg clip-rule="evenodd" fill-rule="evenodd" height="512" stroke-linejoin="round" stroke-miterlimit="2" width="512"
|
||||
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
|
||||
<linearGradient id="a" gradientTransform="matrix(200 -420 420 200 660 1340)" gradientUnits="userSpaceOnUse" x1="0"
|
||||
x2="1" y1="0" y2="0">
|
||||
<stop offset="0" stop-color="#fcca8c"/>
|
||||
<stop offset="1" stop-color="#dca055"/>
|
||||
</linearGradient>
|
||||
<g fill-rule="nonzero">
|
||||
<path d="M486.075 281.925 512 255.998l-25.925-25.923 19.503-31.04-31.04-19.505 12.11-34.605-34.604-12.106 4.103-36.431-36.428-4.104-4.107-36.433-36.429 4.104-12.11-34.604-34.599 12.108-19.51-31.041-31.043 19.505L256 0l-25.922 25.925L199.035 6.42l-19.503 31.04-34.604-12.11-12.107 34.603-36.432-4.105-4.104 36.429-36.43 4.104 4.106 36.43-34.608 12.109 12.108 34.602-31.04 19.504 19.506 31.046L0 255.998l25.925 25.927L6.42 312.968l31.04 19.503-12.108 34.603 34.607 12.11-4.104 36.425 36.43 4.107 4.103 36.429 36.432-4.103 12.107 34.6 34.602-12.104 19.505 31.041 31.04-19.506 25.924 25.683 25.925-25.677 31.04 19.503 19.503-31.044 34.607 12.11 12.106-34.603 36.432 4.103 4.103-36.432 36.432-4.103-4.106-36.43 34.606-12.109-12.11-34.606 31.041-19.503z"
|
||||
fill="#b51f08"/>
|
||||
<path d="M433.585 296.98c0-50.105-40.618-90.725-90.724-90.725-24.888 0-47.432 10.03-63.822 26.26l-.011-.011-23.116 23.117-18.9-18.901c-16.629-18.971-41.022-30.965-68.228-30.965-50.107 0-90.725 40.62-90.725 90.725 0 26.183 11.103 49.758 28.843 66.315L256 511.815l145.804-145.898c18.218-17.147 31.781-41.342 31.781-68.937"
|
||||
fill="#fcca8c"/>
|
||||
<path d="m885.579 884.73-54.862-54.862c-48.267-55.067-119.071-89.879-198.042-89.879-145.442 0-263.342 117.904-263.342 263.341 0 76 32.23 144.43 83.721 192.49l432.779 432.55"
|
||||
fill="url(#a)" transform="translate(-49.181 -49.18) scale(.34451)" style="fill:url(#a)"/>
|
||||
</g>
|
||||
<path d="m256 511.815-.088-256.194" fill="none" style="stroke-width:.344513"/>
|
||||
<g fill-rule="nonzero">
|
||||
<path d="M281.9 486.052c-6.642-6.666-15.82-10.787-25.95-10.787-10.135 0-19.31 4.12-25.952 10.787.106 14.242 11.681 25.756 25.95 25.756 14.268 0 25.845-11.517 25.952-25.756M225.64 329.17c0 10.955-8.878 19.833-19.835 19.833-10.95 0-19.83-8.878-19.83-19.833 0-10.956 8.88-19.834 19.83-19.834 10.957 0 19.834 8.878 19.834 19.834"
|
||||
fill="#010007"/>
|
||||
<path d="M218.837 326.198a5.49 5.49 0 0 1-5.495 5.491 5.492 5.492 0 0 1-5.498-5.491 5.5 5.5 0 0 1 5.498-5.499 5.499 5.499 0 0 1 5.495 5.499"
|
||||
fill="#fffffa"/>
|
||||
<path d="M326.218 329.17c0 10.956-8.878 19.834-19.834 19.834-10.952 0-19.833-8.878-19.833-19.833 0-10.956 8.881-19.834 19.833-19.834 10.956 0 19.834 8.878 19.834 19.834"
|
||||
fill="#010007"/>
|
||||
<path d="M319.414 326.198a5.492 5.492 0 0 1-5.495 5.491 5.492 5.492 0 0 1-5.499-5.491 5.5 5.5 0 0 1 5.499-5.499 5.5 5.5 0 0 1 5.495 5.499"
|
||||
fill="#fffffa"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.1 KiB |
16
blueprints/hedgedoc/template.toml
Normal file
16
blueprints/hedgedoc/template.toml
Normal file
@@ -0,0 +1,16 @@
|
||||
[variables]
|
||||
main_domain = "${domain}"
|
||||
database_password = "${password:32}"
|
||||
|
||||
[config]
|
||||
[[config.domains]]
|
||||
serviceName = "hedgedoc"
|
||||
port = 3000
|
||||
host = "${main_domain}"
|
||||
|
||||
[config.env]
|
||||
POSTGRES_PASSWORD = "${database_password}"
|
||||
CMD_DB_URL = "postgres://hedgedoc:${database_password}@database:5432/hedgedoc"
|
||||
CMD_DOMAIN = "${main_domain}"
|
||||
CMD_PROTOCOL_USESSL = "true"
|
||||
CMD_URL_ADDPORT = "false"
|
||||
19
meta.json
19
meta.json
@@ -3106,6 +3106,25 @@
|
||||
"self-hosted"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "hedgedoc",
|
||||
"name": "HedgeDoc",
|
||||
"version": "1.10.8",
|
||||
"description": "HedgeDoc is a collaborative Markdown editor for teams that need real-time notes, documentation, and knowledge sharing.",
|
||||
"logo": "hedgedoc.svg",
|
||||
"links": {
|
||||
"github": "https://github.com/hedgedoc/hedgedoc",
|
||||
"website": "https://hedgedoc.org/",
|
||||
"docs": "https://docs.hedgedoc.org/"
|
||||
},
|
||||
"tags": [
|
||||
"markdown",
|
||||
"notes",
|
||||
"documentation",
|
||||
"collaboration",
|
||||
"wiki"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "hermes",
|
||||
"name": "Hermes",
|
||||
|
||||
Reference in New Issue
Block a user