아바타 업로드 시 최소 해상도 조건을 검증하고 리사이즈/품질 설정값을 안전 범위로 보정해 운영 설정 오입력에도 안정적으로 동작하도록 개선한다. Co-authored-by: Cursor <cursoragent@cursor.com>
29 lines
647 B
Plaintext
29 lines
647 B
Plaintext
# Database
|
|
DATABASE_URL=postgres://sori_studio:replace-with-random-password@sori-studio-db:5432/sori_studio
|
|
DATABASE_NAME=sori_studio
|
|
POSTGRES_DB=sori_studio
|
|
POSTGRES_USER=sori_studio
|
|
POSTGRES_PASSWORD=replace-with-random-password
|
|
DB_PORT=43119
|
|
|
|
# Auth
|
|
ADMIN_EMAIL=admin@example.com
|
|
ADMIN_PASSWORD=replace-with-random-password
|
|
MEMBER_SESSION_SECRET=replace-with-random-password
|
|
|
|
# Upload
|
|
UPLOAD_DIR=/uploads
|
|
MAX_FILE_SIZE=10485760
|
|
AVATAR_MIN_WIDTH=96
|
|
AVATAR_MIN_HEIGHT=96
|
|
AVATAR_MAX_WIDTH=512
|
|
AVATAR_MAX_HEIGHT=512
|
|
AVATAR_WEBP_QUALITY=82
|
|
|
|
# Site
|
|
NUXT_PUBLIC_SITE_URL=https://sori.studio
|
|
NUXT_PUBLIC_SITE_TITLE=sori.studio
|
|
|
|
# Server
|
|
APP_PORT=43118
|