This commit is contained in:
jeremygan2021
2026-03-02 12:06:26 +08:00
parent 3cfb04f85a
commit c893aa6511
15 changed files with 5 additions and 5 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

2
.env
View File

@@ -2,7 +2,7 @@
# 数据库配置 # 数据库配置
# DATABASE_URL=postgresql://luna:123luna@121.43.104.161:6432/luna # DATABASE_URL=postgresql://luna:123luna@121.43.104.161:6432/luna
DATABASE_URL=postgresql://luna:123luna@6.6.6.86:5432/luna DATABASE_URL=postgresql://luna:123luna@6.6.6.66:5432/luna
# MQTT配置 # MQTT配置
MQTT_BROKER_HOST=luna-mqtt MQTT_BROKER_HOST=luna-mqtt

View File

@@ -2,7 +2,7 @@
# 数据库配置 # 数据库配置
# DATABASE_URL=postgresql://luna:123luna@121.43.104.161:6432/luna # DATABASE_URL=postgresql://luna:123luna@121.43.104.161:6432/luna
DATABASE_URL=postgresql://luna:123luna@6.6.6.86:5432/luna DATABASE_URL=postgresql://luna:123luna@6.6.6.66:5432/luna
# MQTT配置 # MQTT配置
MQTT_BROKER_HOST=luna-mqtt MQTT_BROKER_HOST=luna-mqtt
MQTT_BROKER_PORT=1883 MQTT_BROKER_PORT=1883

View File

@@ -2,7 +2,7 @@
# 数据库配置 # 数据库配置
# DATABASE_URL=postgresql://luna:123luna@121.43.104.161:6432/luna # DATABASE_URL=postgresql://luna:123luna@121.43.104.161:6432/luna
DATABASE_URL=postgresql://luna:123luna@6.6.6.86:5432/luna DATABASE_URL=postgresql://luna:123luna@6.6.6.66:5432/luna
# MQTT配置 # MQTT配置
MQTT_BROKER_HOST=luna-mqtt MQTT_BROKER_HOST=luna-mqtt
MQTT_BROKER_PORT=1883 MQTT_BROKER_PORT=1883

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -4,7 +4,7 @@ from typing import Optional
class Settings(BaseSettings): class Settings(BaseSettings):
# 数据库配置 # 数据库配置
#database_url: str = "postgresql://luna:123luna@121.43.104.161:6432/luna" #database_url: str = "postgresql://luna:123luna@121.43.104.161:6432/luna"
database_url: str = "postgresql://luna:123luna@6.6.6.86:5432/luna" database_url: str = "postgresql://luna:123luna@6.6.6.66:5432/luna"
# MQTT配置 # MQTT配置

View File

@@ -13,7 +13,7 @@
# ============================================================================= # =============================================================================
# 配置变量 - 请根据实际情况修改 # 配置变量 - 请根据实际情况修改
SERVER_HOST="6.6.6.86" # 服务器IP地址 SERVER_HOST="6.6.6.66" # 服务器IP地址
SERVER_USER="ubuntu" # 服务器用户名 SERVER_USER="ubuntu" # 服务器用户名
SERVER_PASSWORD="qweasdzxc1" # 服务器密码 SERVER_PASSWORD="qweasdzxc1" # 服务器密码
SERVER_PORT="22" # SSH端口默认22 SERVER_PORT="22" # SSH端口默认22

BIN
static/.DS_Store vendored Normal file

Binary file not shown.