mirror of
https://github.com/ichsankurnia/hats-app.git
synced 2026-12-05 10:46:29 +00:00
d0db9ee429
This change adds staging and production deployment configuration for the VPS setup, including `.env.deploy.example`, `.env.staging`, and updated production environment values. It also introduces a PowerShell deployment script that builds the app, packages the Next.js artifact, uploads it to the server, and reloads PM2. Package scripts were added for staging and production deploys, and the TypeScript config now excludes legacy `.old` files.
21 lines
679 B
Bash
21 lines
679 B
Bash
BASE_PATH = ""
|
|
NEXT_PUBLIC_APP_URL="http://hats.hisnutech.my.id"
|
|
|
|
BASE_URL_API = https://api-hats.hisnutech.my.id/api/v1
|
|
BASE_URL_IMG = https://api-hats.hisnutech.my.id/
|
|
|
|
NEXTAUTH_URL = http://hats.hisnutech.my.id
|
|
NEXTAUTH_URL_INTERNAL = http://36.66.3.44:7002
|
|
|
|
NEXTAUTH_SECRET = 4339d50684523526005c1fcb34be0bb1
|
|
|
|
FIREBASE_API_KEY = AIzaSyAEkZCHhnyatsNiZ2dpjeaz6JqXYknKKHk
|
|
FIREBASE_APP_ID = "1:422528660020:web:db16e1cba4d357e32f1061"
|
|
|
|
DEVICE_CODE = "40001"
|
|
NEXT_PUBLIC_HATS_SUPPORT_NAME = "Amalia"
|
|
NEXT_PUBLIC_HATS_SUPPORT_PHONE = "6285214074002"
|
|
NEXT_PUBLIC_APP_VERSION = "v1.2.0"
|
|
NEXT_PUBLIC_MANAGER_USER_ID = '2'
|
|
|
|
NEXT_PUBLIC_S3_IMAGE_URL = https://cdn.hisnutech.my.id/public |