46 lines
1.0 KiB
Bash
46 lines
1.0 KiB
Bash
# Docker Environment Configuration für Rezepte Klaus
|
|
|
|
# Database Configuration
|
|
DB_HOST=mysql
|
|
DB_PORT=3306
|
|
DB_USER=recipes_user
|
|
DB_PASSWORD=recipes_password_2024
|
|
DB_NAME=rezepte_klaus
|
|
DB_ROOT_PASSWORD=root_password_2024
|
|
|
|
# Database URL für Prisma
|
|
DATABASE_URL=mysql://recipes_user:recipes_password_2024@mysql:3306/rezepte_klaus
|
|
|
|
# Backend Configuration
|
|
BACKEND_PORT=3001
|
|
NODE_ENV=production
|
|
|
|
# Upload Configuration
|
|
UPLOAD_DIR=/app/uploads
|
|
MAX_FILE_SIZE=10485760
|
|
ALLOWED_EXTENSIONS=jpg,jpeg,png,webp
|
|
|
|
# Frontend Configuration
|
|
FRONTEND_PORT=80
|
|
VITE_API_URL=http://localhost:3001
|
|
|
|
# phpMyAdmin Configuration (optional)
|
|
PMA_HOST=mysql
|
|
PMA_PORT=3306
|
|
PHPMYADMIN_PORT=8080
|
|
|
|
# Legacy PHP Configuration (optional)
|
|
LEGACY_PHP_PORT=8090
|
|
LEGACY_MYSQL_HOST=mysql
|
|
LEGACY_MYSQL_DATABASE=rezepte_klaus
|
|
LEGACY_MYSQL_USER=recipes_user
|
|
LEGACY_MYSQL_PASSWORD=recipes_password_2024
|
|
|
|
# Security
|
|
JWT_SECRET=your_jwt_secret_here_change_in_production
|
|
CORS_ORIGIN=*
|
|
|
|
# Volume Paths
|
|
MYSQL_DATA_PATH=./docker-data/mysql
|
|
UPLOADS_PATH=./docker-data/uploads
|
|
LEGACY_UPLOADS_PATH=./upload |