Skip to content

Commit 755deb2

Browse files
committed
fix: allow remote connections to H2 console to make it work in docker environment.
[ci skip]
1 parent 3ab2760 commit 755deb2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docker/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ CMD [ "java" \
4747
, "-Xmx128m" \
4848
, "-Xss256k" \
4949
, "-Dserver.address=0.0.0.0" \
50+
# used only in "test" profile, other profiles don't enable H2 database
51+
, "-Dspring.h2.console.settings.webAllowOthers=true" \
5052
, "-jar" \
5153
, "mystamps.war" \
5254
]

0 commit comments

Comments
 (0)