From 7906bb4ce98952d93b9b147011e0eb708c7df53a Mon Sep 17 00:00:00 2001 From: TakahashiNg <83152264+TakahashiNguyen@users.noreply.github.com> Date: Wed, 15 Apr 2026 07:41:39 +0000 Subject: [PATCH] chore: update --- .devcontainer/Dockerfile | 4 +--- .devcontainer/devcontainer.json | 1 + account-service/src/test/resources/application.properties | 6 +++--- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index e0f961a..2ba3b9d 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -18,11 +18,9 @@ RUN apt-get update && apt-get install -y ca-certificates && apt-get clean # 1. Cài đặt các công cụ cơ bản RUN apt-get update --fix-missing && apt-get install --no-install-recommends --no-install-suggests -y \ - curl \ - bash \ git \ - gnupg \ docker-buildx \ + docker-cli \ docker.io \ openjdk-25-jdk-headless \ maven diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index a2be560..442d47e 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -33,6 +33,7 @@ "containerEnv": { "TESTCONTAINERS_RYUK_DISABLED": "true", "QUARKUS_DEBUG_HOST": "0.0.0.0", + "http_proxy": "http://host.docker.internal:3142" }, "postCreateCommand": "git config --global --add safe.directory '*'", "forwardPorts": [ diff --git a/account-service/src/test/resources/application.properties b/account-service/src/test/resources/application.properties index de1f2b1..59bc331 100644 --- a/account-service/src/test/resources/application.properties +++ b/account-service/src/test/resources/application.properties @@ -3,8 +3,8 @@ quarkus.http.host=0.0.0.0 # Database ## Datasource -quarkus.datasource.db-kind=h2 -quarkus.datasource.jdbc.url=jdbc:h2:mem:test_db;DB_CLOSE_DELAY=-1 +%test.quarkus.datasource.db-kind=h2 +%test.quarkus.datasource.jdbc.url=jdbc:h2:mem:test_db;DB_CLOSE_DELAY=-1 ## Orm -quarkus.hibernate-orm.database.generation=drop-and-create +%test.quarkus.hibernate-orm.database.generation=drop-and-create