This PR replaces and supersedes #39. (#162)

* feat(blueprint): added docuseal

* feat: add Docuseal document management system

* feat: restructure docker-compose for Docuseal application setup

* feat(docker-compose): remove unused port mapping and clean up redis service configuration

* Update blueprints/docuseal/docker-compose.yml

* Update blueprints/docuseal/docker-compose.yml

* Update blueprints/docuseal/template.toml

* This PR replaces and supersedes #39.

Changes and improvements:
- Fully resolved merge conflict in meta.json
- Added missing JWT secret handling using `${password:32}`
- Synced `template.toml` and `docker-compose.yml` with proper environment variable mapping
- Ensured domain and service configuration matches Dokploy standards
- Minor cleanup for clarity and deployment safety

Original credit to @maelpr for the initial submission.

This version ensures a clean, deployable, and secure Dokploy template for Kutt.

* fix: add missing commas in environment variable definitions

* Update blueprints/kutt/template.toml

---------

Co-authored-by: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com>
This commit is contained in:
Vincent Vu
2025-06-20 14:47:44 +10:00
committed by GitHub
parent 1d388036d5
commit 08273b4a14
4 changed files with 63 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
services:
kutt:
image: kutt/kutt:main
volumes:
- kutt_db_data:/var/lib/kutt
- ./kutt/custom:/kutt/custom
environment:
DB_FILENAME: "/var/lib/kutt/data.sqlite"
JWT_SECRET: ${JWT_SECRET}
DEFAULT_DOMAIN: ${DOMAIN}
TRUST_PROXY: ${TRUST_PROXY}
DISALLOW_ANONYMOUS_LINKS: ${DISALLOW_ANONYMOUS_LINKS}
CUSTOM_DOMAIN_USE_HTTPS: ${CUSTOM_DOMAIN_USE_HTTPS}
MAIL_ENABLED: ${MAIL_ENABLED}
MAIL_HOST: ${MAIL_HOST}
MAIL_PORT: ${MAIL_PORT}
MAIL_SECURE: ${MAIL_SECURE}
MAIL_USER: ${MAIL_USER}
MAIL_FROM: ${MAIL_FROM}
MAIL_PASSWORD: ${MAIL_PASSWORD}
CONTACT_EMAIL: ${CONTACT_EMAIL}
volumes:
kutt_db_data: {}

BIN
blueprints/kutt/kutt.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View File

@@ -0,0 +1,26 @@
[variables]
main_domain = "${domain}"
jwt_secret = "${password:32}"
[config]
env = [
"JWT_SECRET=${jwt_secret}",
"DEFAULT_DOMAIN=${main_domain}",
"TRUST_PROXY=false",
"DISALLOW_ANONYMOUS_LINKS=true",
"CUSTOM_DOMAIN_USE_HTTPS=true",
"MAIL_ENABLED=false",
"MAIL_HOST=''",
"MAIL_PORT='22'",
"MAIL_SECURE=true",
"MAIL_USER=''",
"MAIL_FROM=''",
"MAIL_PASSWORD=''",
"CONTACT_EMAIL=''"
]
mounts = []
[[config.domains]]
serviceName = "kutt"
port = 3_000
host = "${main_domain}"

View File

@@ -2484,6 +2484,19 @@
},
"tags": ["document-signing"]
},
{
"id": "kutt",
"name": "Kutt",
"version": "latest",
"description": "Kutt is a modern URL shortener with support for custom domains. Create and edit links, view statistics, manage users, and more.",
"logo": "kutt.png",
"links": {
"github": "https://github.com/thedevs-network/kutt",
"website": "https://kutt.it",
"docs": "https://github.com/thedevs-network/kutt#kuttit"
},
"tags": ["link-shortener", "link-sharing"]
},
{
"id": "palmr",
"name": "Palmr",