Skip to content

Template · Other

Kutt

Modern URL shortener with custom domains and stats, on PostgreSQL and Redis.

Deploy on Skiffly

Opens the dashboard with this template pre-selected. Sign in with GitHub if you are new; the free tier needs no card.

  • Postgrespostgres:17
  • Redisredis:7-alpine
  • Kuttkutt/kutt:latest
Upstream documentation

What gets deployed

3 services in the environment you pick, on the private network of the project.

About this template

kutt/kutt:latest + PostgreSQL 17 + Redis.

Postgres

Image: postgres:17

  • Port 5432/tcp
  • 10 GB volume at /var/lib/postgresql/data
  • 1 vCPU · 1 GB

Redis

Image: redis:7-alpine

  • Port 6379/tcp
  • 2 GB volume at /data
  • 0.5 vCPU · 512 MB

redis-server --appendonly yes --dir /data

Kutt

Image: kutt/kutt:latest

  • Port 3000/http
  • Public domain with TLS
  • 0.5 vCPU · 512 MB

Variables

Generated secrets never leave the platform; references are resolved on the private network. Anything marked required is asked for at deploy time.

Postgres

NameValue
POSTGRES_USERpostgresSuperuser name
POSTGRES_PASSWORDgenerated (password)Generated at deploy
POSTGRES_DBkuttDatabase created on first start
PGDATA/var/lib/postgresql/data/pgdata
DATABASE_URLpostgresql://${{self.POSTGRES_USER}}:${{self.POSTGRES_PASSWORD}}@${{self.SKIFFLY_PRIVATE_DOMAIN}}:5432/${{self.POSTGRES_DB}}Connection string on the private network

Redis

NameValue
REDIS_URLredis://${{self.SKIFFLY_PRIVATE_DOMAIN}}:6379Private network only, no auth

Kutt

NameValue
PORT3000
SITE_NAMEKutt
DEFAULT_DOMAIN${{self.SKIFFLY_PUBLIC_DOMAIN}}
LINK_LENGTH6
JWT_SECRETgenerated (secret)
DB_CLIENTpg
DB_HOST${{Postgres.SKIFFLY_PRIVATE_DOMAIN}}
DB_PORT5432
DB_NAME${{Postgres.POSTGRES_DB}}
DB_USER${{Postgres.POSTGRES_USER}}
DB_PASSWORD${{Postgres.POSTGRES_PASSWORD}}
REDIS_ENABLEDtrue
REDIS_HOST${{Redis.SKIFFLY_PRIVATE_DOMAIN}}
REDIS_PORT6379
DISALLOW_REGISTRATIONfalse
MAIL_ENABLEDfalse

Deploy button for your README

Add a one-click deploy link to your repository or docs. Two variants: for light and dark backgrounds.

Deploy on SkifflyDeploy on Skiffly
Markdown · Light background
[![Deploy on Skiffly](https://skiffly.dev/button.svg)](https://skiffly.dev/templates/kutt)
Markdown · Dark background
[![Deploy on Skiffly](https://skiffly.dev/button-dark.svg)](https://skiffly.dev/templates/kutt)
HTML
<a href="https://skiffly.dev/templates/kutt"><img src="https://skiffly.dev/button.svg" alt="Deploy on Skiffly" height="32"></a>

Deploy Kutt in one click

Volumes, secrets and domain pre-wired. Runs on EU nodes, paid per minute from a prepaid balance.