duckil_plm/.env.development
2024-12-13 16:14:45 +09:00

81 lines
1.7 KiB
Plaintext

# .env.development
# Common
NODE_ENV=development
TZ=Asia/Seoul
# Uproad Folder
UPLOAD_FOLDER=/Users/effects/Documents/GitHub/wacefems_upload
# ADMIN
ADMIN_PORT=3002
# Frontend
APP_PORT=3003
NEXT_PUBLIC_API_URL=http://localhost:3001
NEXT_PUBLIC_MQTT_URL=ws://localhost:1883
NEXTAUTH_URL=http://localhost:3003
NEXTAUTH_SECRET=wacefems-secret-work-in-progress-PPw09!keep!
# Backend API
API_PORT=3001
API_PREFIX=/api/v1
# CORS_ORIGIN=http://localhost:3002,http://localhost:3003
CORS_ORIGIN=*
JWT_SECRET=wacefems-secret-work-in-progress-PPw09!keep
JWT_EXPIRES_IN=1d
# REALTIME API
REALTIME_API_PORT=3004
REALTIME_BACKEND_API_URL=http://localhost:3004
# Main Backend
ADMIN_API_KEY=your_admin_api_key
# Database
POSTGRES_HOST=61.251.18.72
POSTGRES_PORT=5432
# POSTGRES_DB=wacefems-database
POSTGRES_DB=duckil
POSTGRES_USER=postgres
POSTGRES_PASSWORD=gplm
# Database 원래소스
#POSTGRES_HOST=fems-postgres
#POSTGRES_PORT=5432
# POSTGRES_DB=wacefems-database
#POSTGRES_DB=postgres
#POSTGRES_USER=wacefems_database_user
#POSTGRES_PASSWORD=wacefems-pg-password-PPw09!keep
# Optional Database Config
POSTGRES_MAX_CONNECTIONS=100
POSTGRES_SHARED_BUFFERS=128MB
# TimescaleDB
TIMESCALEDB_HOST=fems-timescaledb
TIMESCALEDB_PORT=5433
TIMESCALEDB_DB=fems_timeseries
TIMESCALEDB_USER=fems_user
TIMESCALEDB_PASSWORD=wacefems-tsdb-password-PPw09!keep
# Redis
REDIS_HOST=fems-redis
REDIS_PORT=6379
REDIS_PASSWORD=wacefems-redis-password-PPw09!keep
REDIS_DB=0
# MQTT Broker
MQTT_BROKER_URL=mqtt://fems-mqtt:1883
MQTT_WSS_URL=ws://fems-mqtt:8883
MQTT_PORT=1883
MQTT_WSS_PORT=8883
MQTT_USERNAME=fems
MQTT_PASSWORD=fems123!
MQTT_ALLOW_ANONYMOUS=false
# Node-RED
NODE_RED_USERNAME=nodered_user
NODE_RED_PASSWORD=nodered_password123!