修改身份认证

This commit is contained in:
hello 2024-03-16 15:07:47 +08:00
parent 0fb444db99
commit 0f3bc34f97

View File

@ -65,3 +65,12 @@ builder.Services.AddAuthentication().AddJwtBearer().AddCustomJwtBearer(options =
options.SecurityAlgorithm = SecurityAlgorithms.HmacSha256; options.SecurityAlgorithm = SecurityAlgorithms.HmacSha256;
}); });
``` ```
## 在容器中运行 pgAdmin 管理工具
```shell
docier pull dpage/pgadmin4
docker run --name pgadmin -e PGADMIN_DEFAULT_EMAIL=test@test.com -e PGADMIN_DEFAULT_PASSWORD=test -e TZ=Asia/Shanghai -d -p 5050:80 dpage/pgadmin4
```