Fix build issues with Coolify deployment

This commit is contained in:
yznahmad 2025-06-20 01:11:37 +03:00
parent fd341b909d
commit 5b534decf5

19
.env
View File

@ -1,15 +1,8 @@
# MongoDB Configuration
MONGO_INITDB_ROOT_USERNAME=root
MONGO_INITDB_ROOT_PASSWORD=DaStrongPassword123!
MONGO_INITDB_ROOT_USERNAME=your_username
MONGO_INITDB_ROOT_PASSWORD=your_secure_password
MONGO_INITDB_DATABASE=Infinity
# Application Configuration
NODE_ENV=development
NEXT_PUBLIC_API_URL=http://localhost:3001
# Admin Account
NODE_ENV=production
DB_URI=mongodb://${MONGO_INITDB_ROOT_USERNAME}:${MONGO_INITDB_ROOT_PASSWORD}@mongodb:27017/Infinity?authSource=admin
NEXT_PUBLIC_API_URL=http://localhost:3000
ADMIN_USERNAME=admin
ADMIN_PASSWORD=ChangeThisPassword123!
# Database Connection
DB_URI=mongodb://root:DaStrongPassword123!@mongodb:27017/Infinity?authSource=admin
ADMIN_PASSWORD=your_secure_admin_password