@ -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
|
||||
|
||||
Reference in New Issue
Block a user