diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..b7692cc Binary files /dev/null and b/.DS_Store differ diff --git a/.env b/.env index 114de62..64c61ee 100644 --- a/.env +++ b/.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 diff --git a/.env.docker b/.env.docker index 651f744..a81650a 100644 --- a/.env.docker +++ b/.env.docker @@ -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 diff --git a/.env.example b/.env.example index 651f744..a81650a 100644 --- a/.env.example +++ b/.env.example @@ -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 diff --git a/__pycache__/auth.cpython-312.pyc b/__pycache__/auth.cpython-312.pyc index e23d6cc..97b279b 100644 Binary files a/__pycache__/auth.cpython-312.pyc and b/__pycache__/auth.cpython-312.pyc differ diff --git a/__pycache__/auth.cpython-313.pyc b/__pycache__/auth.cpython-313.pyc index dd75ae9..8bc5612 100644 Binary files a/__pycache__/auth.cpython-313.pyc and b/__pycache__/auth.cpython-313.pyc differ diff --git a/__pycache__/config.cpython-312.pyc b/__pycache__/config.cpython-312.pyc index feb0134..7fecc2a 100644 Binary files a/__pycache__/config.cpython-312.pyc and b/__pycache__/config.cpython-312.pyc differ diff --git a/__pycache__/config.cpython-313.pyc b/__pycache__/config.cpython-313.pyc index 4967a4a..b726187 100644 Binary files a/__pycache__/config.cpython-313.pyc and b/__pycache__/config.cpython-313.pyc differ diff --git a/__pycache__/database.cpython-312.pyc b/__pycache__/database.cpython-312.pyc index 6b6eb66..5789487 100644 Binary files a/__pycache__/database.cpython-312.pyc and b/__pycache__/database.cpython-312.pyc differ diff --git a/__pycache__/database.cpython-313.pyc b/__pycache__/database.cpython-313.pyc index e5a724c..2ce64e2 100644 Binary files a/__pycache__/database.cpython-313.pyc and b/__pycache__/database.cpython-313.pyc differ diff --git a/api/__pycache__/contents.cpython-312.pyc b/api/__pycache__/contents.cpython-312.pyc index 93019f5..34afc9c 100644 Binary files a/api/__pycache__/contents.cpython-312.pyc and b/api/__pycache__/contents.cpython-312.pyc differ diff --git a/api/__pycache__/contents.cpython-313.pyc b/api/__pycache__/contents.cpython-313.pyc index 5420930..bd76ce3 100644 Binary files a/api/__pycache__/contents.cpython-313.pyc and b/api/__pycache__/contents.cpython-313.pyc differ diff --git a/config.py b/config.py index 1a6377a..274101c 100644 --- a/config.py +++ b/config.py @@ -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配置 diff --git a/docker_deplay.sh b/docker_deplay.sh index 71b910c..fe0d41f 100755 --- a/docker_deplay.sh +++ b/docker_deplay.sh @@ -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 diff --git a/static/.DS_Store b/static/.DS_Store new file mode 100644 index 0000000..231c6e1 Binary files /dev/null and b/static/.DS_Store differ