0a51001791
Co-authored-by: Cursor <cursoragent@cursor.com>
30 lines
945 B
Bash
30 lines
945 B
Bash
# Скопируйте в .env и измените значения
|
|
POSTGRES_USER=photohost
|
|
POSTGRES_PASSWORD=change_me_strong_password
|
|
POSTGRES_DB=photohost
|
|
DATABASE_URL=postgresql://photohost:change_me_strong_password@db:5432/photohost
|
|
|
|
SECRET_KEY=change_me_random_secret_key_min_32_chars
|
|
MAX_UPLOAD_MB=10
|
|
UPLOAD_FOLDER=/app/uploads
|
|
APP_PORT=8080
|
|
|
|
# First admin (created automatically on first startup if no admin exists)
|
|
ADMIN_USERNAME=admin
|
|
ADMIN_EMAIL=admin@example.com
|
|
ADMIN_PASSWORD=change_me_admin_password
|
|
|
|
# Default user group quota in MB (0 = unlimited)
|
|
DEFAULT_GROUP_QUOTA_MB=100
|
|
DEFAULT_GROUP_MAX_FOLDERS=10
|
|
DEFAULT_GROUP_MAX_PHOTOS=500
|
|
|
|
# Git deploy from admin panel (requires repo mount and docker socket)
|
|
ALLOW_GIT_DEPLOY=false
|
|
GIT_REMOTE_URL=https://git.evilfox.cc/test2/fotohost.git
|
|
|
|
# WebAuthn / Passkey (use your domain in production)
|
|
WEBAUTHN_RP_ID=localhost
|
|
WEBAUTHN_RP_NAME=PhotoHost
|
|
WEBAUTHN_ORIGIN=http://localhost:8080
|