This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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": [
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user