Home Catalog Shlink
Utilities

Shlink

Self-hosted URL shortener with REST API, rich statistics and QR code generation.

ARM64 & AMD64
Docker & Rootless Podman
100% Self-Hosted (Zero Lock-in)
RAM Profile: Low
Default Port: Port 8089

Why this Configuration?

Quick Start (Standalone Docker Compose)

The snippet below is immediately ready to run in any standard Docker or Podman environment:

services:
  shlink:
    image: "shlinkio/shlink:latest"
    container_name: njorddeploy-shlink
    restart: unless-stopped
    environment:
      - "DEFAULT_DOMAIN=localhost:8089"
      - "IS_HTTPS_ENABLED=false"
      - "INITIAL_API_KEY=shlink_master_api_key_123"
      - "DB_DRIVER=sqlite"
    ports:
      - "8089:8080"
    volumes:
      - "./data/shlink/data:/etc/shlink/data"
    user: "0:0"
    networks:
      - njorddeploy_net

networks:
  njorddeploy_net:

Start the service directly via the command line: docker compose up -d

Configuration & Environment Variables

Key configuration parameters and defaults derived from the NjordDeploy component template:

Variable Default Value Description
SHLINK_WEB_PORT 8089 Web port for Shlink server.
SHLINK_INITIAL_API_KEY shlink_master_api_key_123 Initial API key for administrative access.

Ecosystem & Enterprise Integration

Effortless Management with NjordDeploy

Deploy, monitor, and update this service with a single click on your own hardware via the NjordDeploy Configurator.