togethere.cloud/api/.env.example

17 lines
609 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Zmienne środowiskowe dla Togethere File API
# Skopiuj ten plik jako .env i uzupełnij wartości przed deplojem.
# Klucz API musi być taki sam jak FILE_API_KEY w PHP (.env serwera lub zmiennej systemowej)
# Wygeneruj silny klucz, np.: python3 -c "import secrets; print(secrets.token_hex(32))"
API_KEY=CHANGE_ME_BEFORE_DEPLOY
# Katalog bazowy dla plików (poza public_html)
FILES_BASE_DIR=/var/www/togethere.cloud/files
# Maks. rozmiar pojedynczego pliku w MB
MAX_FILE_SIZE_MB=20
# Adres i port serwisu (tylko localhost nigdy nie wystawiaj na zewnątrz)
HOST=127.0.0.1
PORT=8001