@ -3,18 +3,17 @@ Host: 0.0.0.0
|
|||||||
Port: 8080
|
Port: 8080
|
||||||
|
|
||||||
# 数据库配置
|
# 数据库配置
|
||||||
database:
|
Database:
|
||||||
driver: sqlite
|
Driver: postgres
|
||||||
file_path: data/photography.db
|
Host: postgres_db
|
||||||
host: localhost
|
Port: 5432
|
||||||
port: 5432
|
Database: photography
|
||||||
database: photography
|
Username: photography
|
||||||
username: postgres
|
Password: fc34ewdc.d3we-s
|
||||||
password: ""
|
Charset: utf8mb4
|
||||||
charset: utf8mb4
|
SSLMode: disable
|
||||||
ssl_mode: disable
|
MaxOpenConns: 100
|
||||||
max_open_conns: 100
|
MaxIdleConns: 10
|
||||||
max_idle_conns: 10
|
|
||||||
|
|
||||||
# 认证配置
|
# 认证配置
|
||||||
auth:
|
auth:
|
||||||
@ -40,4 +39,6 @@ middleware:
|
|||||||
- http://localhost:3000
|
- http://localhost:3000
|
||||||
- http://localhost:3001
|
- http://localhost:3001
|
||||||
- http://localhost:5173
|
- http://localhost:5173
|
||||||
log_level: info
|
- https://admin.photography.iriver.top
|
||||||
|
- https://photography.iriver.top
|
||||||
|
LogLevel: info
|
||||||
|
|||||||
Reference in New Issue
Block a user