mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-15 23:02:03 -05:00
[PR #914] Add Cut (self-hosted URL shortener) #12502
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Dokploy/templates/pull/914
Author: @MendyLanda
Created: 5/31/2026
Status: 🔄 Open
Base:
canary← Head:add-cut📝 Commits (1)
41e8112Add Cut (self-hosted URL shortener) template📊 Changes
4 files changed (+77 additions, -0 deletions)
View changed files
➕
blueprints/cut/cut.svg(+10 -0)➕
blueprints/cut/docker-compose.yml(+37 -0)➕
blueprints/cut/template.toml(+14 -0)📝
meta.json(+16 -0)📄 Description
What is this PR about?
New PR of Cut — a small self-hosted URL shortener (owner-only admin behind a single password, with per-link passwords, expiries, and click limits).
The template runs the published image
ghcr.io/mendylanda/cutwith a private Redis for storage.template.tomlgenerates the domain and a strongADMIN_PASSWORD, then maps thecutservice to port 3000. Redis runs withnoevictionsince it holds the actual links rather than cache data, so it shouldn't drop keys when memory fills up. Cut reads the request host at runtime, so nothing else needs configuring.Added
blueprints/cut/(docker-compose.yml,template.toml,cut.svg) plus themeta.jsonentry, sorted withnode dedupe-and-sort-meta.js. Compose follows the requirements:ports: - 3000(no host mapping), matchingcutservice name, nocontainer_name, no custom network.Checklist
Note on testing: I verified the stack directly with Docker Compose — the image builds, the container serves
/and/admin(both 200), and a/api/keepalivewrite lands in Redis. I don't have a separate Dokploy instance on hand, so I'm relying on this PR's automatic preview deploy to exercise the template itself. Happy to import the preview Base64 and confirm end-to-end if you'd like.Issues related (if applicable)
None.
Screenshots or Videos
The app running from the same two-container stack (app +
redis:7-alpine); the Dokploy preview deploy will show it inside Dokploy.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.