mirror of
https://github.com/Sevi-py/tnyr.me.git
synced 2026-04-03 03:00:21 -04:00
fix readme; docker compose
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user