diff --git a/backend/etc/photography-api.yaml b/backend/etc/photography-api.yaml index c94ba4c..8d79a83 100644 --- a/backend/etc/photography-api.yaml +++ b/backend/etc/photography-api.yaml @@ -3,18 +3,17 @@ Host: 0.0.0.0 Port: 8080 # 数据库配置 -database: - driver: sqlite - file_path: data/photography.db - host: localhost - port: 5432 - database: photography - username: postgres - password: "" - charset: utf8mb4 - ssl_mode: disable - max_open_conns: 100 - max_idle_conns: 10 +Database: + Driver: postgres + Host: postgres_db + Port: 5432 + Database: photography + Username: photography + Password: fc34ewdc.d3we-s + Charset: utf8mb4 + SSLMode: disable + MaxOpenConns: 100 + MaxIdleConns: 10 # 认证配置 auth: @@ -40,4 +39,6 @@ middleware: - http://localhost:3000 - http://localhost:3001 - http://localhost:5173 - log_level: info + - https://admin.photography.iriver.top + - https://photography.iriver.top + LogLevel: info