Add Docker Compose setup for self-hosted Shlink on Coolify

This commit is contained in:
Julien Calixte
2026-03-19 22:34:21 +01:00
parent e34496d1ea
commit ddd73aacbd
4 changed files with 74 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
# Shlink — self-hosted URL shortener
Deployed on [Coolify](https://coolify.io) 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
3. Add a domain in Coolify pointing to port `8080`.
4. Deploy.
## Shlink Web UI
Optionally connect [shlink-web-client](https://app.shlink.io) to your instance using your domain and API key.