-
Notifications
You must be signed in to change notification settings - Fork 26
Add sample using Docker Compose #309
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
b5c8da0
492079e
9a54fdc
f8fca44
22218e7
0c1d0e9
54abc1d
8d4b1e1
b833b87
c2b2c05
bc628f6
8f69bac
ccbb570
0090fb5
b616f81
bd35370
a68bdde
10064a2
739caf8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,4 +9,5 @@ target | |
| .settings | ||
| .factorypath | ||
| .apt_generated | ||
| .vscode/ | ||
| .vscode/ | ||
| HELP.md | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,11 +6,8 @@ | |
|
|
||
| @SpringBootTest | ||
| @TestPropertySource(properties = { | ||
| "spring.datasource.url=jdbc:h2:mem:test;DB_CLOSE_DELAY=-1", | ||
| "spring.datasource.username=sa", | ||
| "spring.datasource.password=", | ||
| "spring.datasource.driver-class-name=org.h2.Driver", | ||
| "doma.dialect=H2" | ||
| "spring.docker.compose.skip.in-tests=false", | ||
|
||
| "doma.dialect=POSTGRES" | ||
| }) | ||
| public class ApplicationTest { | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| # Enable Docker Compose in tests | ||
| spring.docker.compose.skip.in-tests=false | ||
|
||
| doma.dialect=POSTGRES | ||
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use the generated compose.yaml as is