feat: update .env.example with refined defaults for services
Revise `.env.example` file to include updated configurations for database, Redis, S3 storage, and mail services. Add missing variables for enhanced security and better local environment setup.
This commit is contained in:
39
.env.example
39
.env.example
@@ -8,32 +8,37 @@ BACKEND_PORT=3001
|
|||||||
FRONTEND_PORT=3000
|
FRONTEND_PORT=3000
|
||||||
|
|
||||||
# Database (PostgreSQL)
|
# Database (PostgreSQL)
|
||||||
POSTGRES_HOST=localhost
|
POSTGRES_HOST=db
|
||||||
POSTGRES_PORT=5432
|
POSTGRES_PORT=5432
|
||||||
POSTGRES_DB=memegoat
|
POSTGRES_DB=app
|
||||||
POSTGRES_USER=app
|
POSTGRES_USER=app
|
||||||
POSTGRES_PASSWORD=app
|
POSTGRES_PASSWORD=app
|
||||||
|
|
||||||
# Storage (S3/MinIO) - À configurer lors de l'implémentation
|
# Redis
|
||||||
# S3_ENDPOINT=localhost
|
REDIS_HOST=redis
|
||||||
# S3_PORT=9000
|
REDIS_PORT=6379
|
||||||
# S3_ACCESS_KEY=
|
|
||||||
# S3_SECRET_KEY=
|
|
||||||
# S3_BUCKET=memegoat
|
|
||||||
|
|
||||||
# Security (PGP & Auth) - À configurer lors de l'implémentation
|
# Storage (S3/MinIO)
|
||||||
# PGP_PASSPHRASE=
|
S3_ENDPOINT=s3
|
||||||
JWT_SECRET=super-secret-key-change-me-in-production
|
S3_PORT=9000
|
||||||
ENCRYPTION_KEY=another-super-secret-key-32-chars
|
S3_ACCESS_KEY=minioadmin
|
||||||
|
S3_SECRET_KEY=minioadmin
|
||||||
|
S3_BUCKET_NAME=memegoat
|
||||||
|
|
||||||
|
# Security
|
||||||
|
JWT_SECRET=super-secret-jwt-key-change-me-in-prod
|
||||||
|
ENCRYPTION_KEY=01234567890123456789012345678901
|
||||||
|
PGP_ENCRYPTION_KEY=super-secret-pgp-key
|
||||||
|
SESSION_PASSWORD=super-secret-session-password-32-chars
|
||||||
|
|
||||||
# Mail
|
# Mail
|
||||||
MAIL_HOST=localhost
|
MAIL_HOST=mail
|
||||||
MAIL_PORT=1025
|
MAIL_PORT=1025
|
||||||
MAIL_SECURE=false
|
MAIL_SECURE=false
|
||||||
MAIL_USER=user
|
MAIL_USER=
|
||||||
MAIL_PASS=password
|
MAIL_PASS=
|
||||||
MAIL_FROM=noreply@memegoat.fr
|
MAIL_FROM=noreply@memegoat.local
|
||||||
DOMAIN_NAME=memegoat.fr
|
DOMAIN_NAME=localhost
|
||||||
|
|
||||||
# Media Limits (in KB)
|
# Media Limits (in KB)
|
||||||
MAX_IMAGE_SIZE_KB=512
|
MAX_IMAGE_SIZE_KB=512
|
||||||
|
|||||||
Reference in New Issue
Block a user