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

17
.env.example Normal file
View File

@@ -0,0 +1,17 @@
# Your short URL domain (e.g. s.example.com)
DEFAULT_DOMAIN=s.example.com
# Set to false if running without TLS termination
IS_HTTPS_ENABLED=true
# Database
DB_NAME=shlink
DB_USER=shlink
DB_PASSWORD=change_me_strong_password
# Generate a UUID or random string for the initial API key
# e.g.: openssl rand -hex 32
INITIAL_API_KEY=change_me_api_key
# Timezone (https://www.php.net/manual/en/timezones.php)
TIMEZONE=UTC