Files
fotohost/.env.example
T
2026-06-06 22:50:10 +03:00

25 lines
801 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