Files
shorturl/README.md
2026-03-19 23:11:53 +01:00

862 B

Shlink — self-hosted URL shortener

Deployed on Coolify via Docker Compose.

Coolify setup

  1. Create a new resource → Docker Compose → point to this repo.
  2. In the Coolify environment variables UI, set the values from .env.example:
    • DEFAULT_DOMAIN — your short URL domain (e.g. s.example.com)
    • DB_PASSWORD — strong random password
    • INITIAL_API_KEY — initial API key (openssl rand -hex 32)
    • TIMEZONE — your timezone
    • DEFAULT_INVALID_SHORT_URL_REDIRECT — (optional) URL to redirect to when a short URL is not found
  3. In the resource's Domains settings, enter your domain with the container port appended: https://s.example.com:8080
  4. Deploy.

Optionally connect shlink-web-client to your instance using your domain and API key.