fix: update MinIO container to use quay.io mirror and add EF migrations on startup
This commit is contained in:
parent
3b449f46e0
commit
535a59f092
2 changed files with 10 additions and 1 deletions
|
|
@ -46,7 +46,8 @@ public sealed class IntegrationTestFixture : IAsyncLifetime
|
|||
private readonly PostgreSqlContainer _postgres = new PostgreSqlBuilder("postgres:16") // ให้ตรงกับ docker-compose ของ dev
|
||||
.Build();
|
||||
|
||||
private readonly MinioContainer _minio = new MinioBuilder("minio/minio:latest")
|
||||
// quay.io mirror — Docker Hub ทำ minio/minio เป็น private แล้ว (เดียวกับ docker-compose)
|
||||
private readonly MinioContainer _minio = new MinioBuilder("quay.io/minio/minio:latest")
|
||||
.WithUsername(MinioUser)
|
||||
.WithPassword(MinioPassword)
|
||||
.Build();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue