diff --git a/.env.example b/.env.example index 2bacabd..9b5e174 100644 --- a/.env.example +++ b/.env.example @@ -1,10 +1,18 @@ # Server configuration ENV=development +HOST="0.0.0.0" PORT=4000 -DATABASE_URL="mysql://root@localhost:3306/nq" -REDIS_URL="redis://@127.0.0.1:6379/4" JWT_SECRET="secret" -CLIENT_URL="http://localhost:5173" +CLIENT_URL="http://192.168.3.4:5173" + +# Database configuration +REDIS_URL="redis://@127.0.0.1:6379/4" +DATABASE_URL="mysql://root@localhost:3306/game" +DB_HOST="localhost" +DB_USER="root" +DB_PASS="" +DB_PORT="3306" +DB_NAME="game" # Game configuration ALLOW_DIAGONAL_MOVEMENT=false @@ -14,8 +22,8 @@ DEFAULT_CHARACTER_ZONE="0" DEFAULT_CHARACTER_POS_X="0" DEFAULT_CHARACTER_POS_Y="0" -# SMTP configuration -SMTP_HOST="my.directonline.io" -SMTP_PORT="587" -SMTP_USER="no-reply@sylvan.quest" +# Email configuration +SMTP_HOST=my.directonline.io +SMTP_PORT=587 +SMTP_USER=no-reply@noxious.gg SMTP_PASSWORD="" \ No newline at end of file