fix readme; docker compose

This commit is contained in:
sevi-py
2025-12-29 01:52:23 +01:00
parent 3f1b752512
commit 66bb46bd5f
2 changed files with 2 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ A secure, self-hosted URL shortener with custom passwordless encryption. Perfect
#### Prerequisites
- Docker (and optionally Docker Compose)
#### 1) Generate salts (optional; only if you hosted tnyr.me before **Dec 30, 2025**)
#### 1) Generate salts (only if you hosted tnyr.me before **Dec 30, 2025**)
```bash
python3 backend/generate_salts.py --env

View File

@@ -5,7 +5,7 @@ services:
- "5502:5502"
environment:
# Required (https://example.com or http://1.2.3.4:5502)
- TNYR_PUBLIC_URL=${TNYR_PUBLIC_URL:?set TNYR_PUBLIC_URL (https://example.com or http://1.2.3.4:5502)}
- "TNYR_PUBLIC_URL=${TNYR_PUBLIC_URL:?set TNYR_PUBLIC_URL (https://example.com or http://1.2.3.4:5502)}"
# Persistence
- TNYR_DB_PATH=/data/urls.db
- TNYR_PORT=5502