Skip to content

Commit b219b9e

Browse files
committed
fix(docker-compose): wrong username used in pg healthcheck
1 parent b7a9ac8 commit b219b9e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ services:
3131
volumes:
3232
- tb-data:/var/lib/postgresql/data
3333
healthcheck:
34-
test: ["CMD-SHELL", "pg_isready -U postgres"]
34+
test: ["CMD-SHELL", "pg_isready -U gorm"]
3535
interval: 10s
3636
timeout: 5s
3737
retries: 5

test/multiple-minio-buckets/docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ services:
5757
volumes:
5858
- tb-data:/var/lib/postgresql/data
5959
healthcheck:
60-
test: ["CMD-SHELL", "pg_isready -U postgres"]
60+
test: ["CMD-SHELL", "pg_isready -U gorm"]
6161
interval: 10s
6262
timeout: 5s
6363
retries: 5

test/single-minio-bucket/docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ services:
5050
volumes:
5151
- tb-data:/var/lib/postgresql/data
5252
healthcheck:
53-
test: ["CMD-SHELL", "pg_isready -U postgres"]
53+
test: ["CMD-SHELL", "pg_isready -U gorm"]
5454
interval: 10s
5555
timeout: 5s
5656
retries: 5

0 commit comments

Comments
 (0)