Files
2026-04-25 10:13:51 +02:00

41 lines
863 B
Bash

# LA2 Portal Environment Variables
# Copy this file to .env and fill in your values
# Portal Auth
JWT_SECRET=LA2PortalSecret123
JWT_EXPIRES_IN=8h
# Portal Database (SQLite)
DATABASE_URL=file:./dev.db
# Game Server Database (MSSQL)
GAME_SERVER_HOST=192.168.1.100
GAME_SERVER_PORT=1433
GAME_SERVER_USER=sa
GAME_SERVER_PASSWORD=your_game_server_password
GAME_SERVER_DATABASE=lin2db
# Game World Database (MSSQL)
GAME_WORLD_HOST=192.168.1.100
GAME_WORLD_PORT=1433
GAME_WORLD_USER=sa
GAME_WORLD_PASSWORD=your_game_server_password
GAME_WORLD_DATABASE=lin2world
# Server Info
SERVER_ID=1
SERVER_NAME=LA2 Eternal
SERVER_IP=192.168.1.100
SERVER_INNER_IP=192.168.1.100
SERVER_PORT=7777
SERVER_AGE_LIMIT=0
SERVER_PK_FLAG=1
SERVER_KIND=0
# Frontend
CORS_ORIGIN=http://localhost:5173
API_PORT=3001
REACT_PORT=5173
NODE_ENV=development
VITE_API_URL=http://localhost:3001