Initial commit
This commit is contained in:
59
srcs/RobotNet10/FleetManager/.env
Normal file
59
srcs/RobotNet10/FleetManager/.env
Normal file
@@ -0,0 +1,59 @@
|
||||
# =====================================================================
|
||||
# RobotNet10.FleetManager - Environment Variables
|
||||
#
|
||||
# Sao chép file này thành .env và điền giá trị thực:
|
||||
# cp .env.example .env
|
||||
# =====================================================================
|
||||
|
||||
# ─────────────────────────────────────────────────────────────────────
|
||||
# FleetManager App
|
||||
# ─────────────────────────────────────────────────────────────────────
|
||||
|
||||
# Port expose ra host
|
||||
FLEET_HTTP_PORT=8080
|
||||
FLEET_HTTPS_PORT=8081
|
||||
|
||||
# Tên và tag Docker image
|
||||
FLEET_IMAGE=robotics.doc:8083/robotnet10/robotnet10-fleet-manager
|
||||
FLEET_VERSION=0.0.7
|
||||
|
||||
# Môi trường ASP.NET Core
|
||||
ASPNETCORE_ENVIRONMENT=Production
|
||||
|
||||
# ─────────────────────────────────────────────────────────────────────
|
||||
# HTTPS Certificate
|
||||
# Đặt file certificate vào thư mục certs/ cạnh file này
|
||||
#
|
||||
# Tạo self-signed cert (dùng cho dev/test):
|
||||
# dotnet dev-certs https -ep certs/fleet-manager.pfx -p <password>
|
||||
#
|
||||
# Hoặc dùng openssl:
|
||||
# openssl req -x509 -newkey rsa:4096 -keyout certs/key.pem -out certs/cert.pem -days 365 -nodes
|
||||
# openssl pkcs12 -export -out certs/fleet-manager.pfx -inkey certs/key.pem -in certs/cert.pem -passout pass:<password>
|
||||
# ─────────────────────────────────────────────────────────────────────
|
||||
|
||||
# Tên file certificate trong thư mục certs/
|
||||
CERT_FILE=fleet-manager.pfx
|
||||
|
||||
# Mật khẩu của certificate
|
||||
CERT_PASSWORD=robotics@2026
|
||||
|
||||
# ─────────────────────────────────────────────────────────────────────
|
||||
# SQL Server (external)
|
||||
# ─────────────────────────────────────────────────────────────────────
|
||||
|
||||
DB_DEFAULT_CONNECTION=Server=host.docker.internal;Database=RobotNet10.FleetManager;User Id=sa;Password=robotics@2022;TrustServerCertificate=True;MultipleActiveResultSets=true
|
||||
DB_MAP_CONNECTION=Server=host.docker.internal;Database=RobotNet10.Layout;User Id=sa;Password=robotics@2022;TrustServerCertificate=True;MultipleActiveResultSets=true
|
||||
DB_SCRIPT_CONNECTION=Server=host.docker.internal;Database=RobotNet10.Script;User Id=sa;Password=robotics@2022;TrustServerCertificate=True;MultipleActiveResultSets=true
|
||||
|
||||
# ─────────────────────────────────────────────────────────────────────
|
||||
# MinIO (external)
|
||||
# ─────────────────────────────────────────────────────────────────────
|
||||
|
||||
# Đặt true để dùng thư mục local thay vì MinIO (phù hợp môi trường dev)
|
||||
STORAGE_USING_LOCAL=false
|
||||
|
||||
MINIO_ENDPOINT=host.docker.internal:9000
|
||||
MINIO_USER=minio
|
||||
MINIO_PASSWORD=robotics
|
||||
MINIO_ENABLE_SSL=false
|
||||
Reference in New Issue
Block a user