new
This commit is contained in:
2
.env
2
.env
@@ -2,7 +2,7 @@
|
||||
|
||||
# 数据库配置
|
||||
# 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_BROKER_HOST=luna-mqtt
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
# 数据库配置
|
||||
# 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_BROKER_HOST=luna-mqtt
|
||||
MQTT_BROKER_PORT=1883
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
# 数据库配置
|
||||
# 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_BROKER_HOST=luna-mqtt
|
||||
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.
Binary file not shown.
Binary file not shown.
@@ -4,7 +4,7 @@ from typing import Optional
|
||||
class Settings(BaseSettings):
|
||||
# 数据库配置
|
||||
#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配置
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
# =============================================================================
|
||||
|
||||
# 配置变量 - 请根据实际情况修改
|
||||
SERVER_HOST="6.6.6.86" # 服务器IP地址
|
||||
SERVER_HOST="6.6.6.66" # 服务器IP地址
|
||||
SERVER_USER="ubuntu" # 服务器用户名
|
||||
SERVER_PASSWORD="qweasdzxc1" # 服务器密码
|
||||
SERVER_PORT="22" # SSH端口,默认22
|
||||
|
||||
BIN
static/.DS_Store
vendored
Normal file
BIN
static/.DS_Store
vendored
Normal file
Binary file not shown.
Reference in New Issue
Block a user