Skip to content

Commit 9ef2559

Browse files
committed
fix: address Copilot review feedback on compose refactor (#68)
- Fix invalid YAML in application-local.yml-example: flatten CommonsRequestLoggingFilter key so web: remains a valid scalar and filter config is a sibling key - Align MariaDB version to 11.6.2 in compose.dev.yaml to match compose.yaml - Fix compose.yaml app healthcheck to use wget (installed in Dockerfile) instead of curl
1 parent 4f448dc commit 9ef2559

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

compose.dev.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
services:
77
mariadb:
8-
image: mariadb:12.2
8+
image: mariadb:11.6.2
99
environment:
1010
MARIADB_DATABASE: springuser
1111
MARIADB_USER: springuser

compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ services:
7979
SPRING_MAIL_PROPERTIES_MAIL_SMTP_STARTTLS_ENABLE: "false"
8080
SPRING_MAIL_PROPERTIES_MAIL_SMTP_STARTTLS_REQUIRED: "false"
8181
healthcheck:
82-
test: ["CMD", "curl", "-f", "http://localhost:8080/actuator/health"]
82+
test: ["CMD", "wget", "-qO-", "http://localhost:8080/actuator/health"]
8383
interval: 30s
8484
timeout: 10s
8585
retries: 5

src/main/resources/application-local.yml-example

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ logging:
77
org:
88
springframework:
99
web: DEBUG # Set logging level for web
10-
filter:
11-
CommonsRequestLoggingFilter: DEBUG # Set logging level for CommonsRequestLoggingFilter
10+
web.filter.CommonsRequestLoggingFilter: DEBUG # Set logging level for CommonsRequestLoggingFilter
1211
security: DEBUG # Set logging level for security
1312

1413
spring:

0 commit comments

Comments
 (0)