Эта настройка работает без особых усилий с локальными выполнениями в средах Linux и WSL с Docker, но выполнения на контактах gitlab не удаляются, в то время как я все еще вижу логики постов, ожидающие конъюги. Альпийское изображение Maven 3.8.8-JDK21 с доступностью Docker. < /p>
Фактическая ошибка:
Код: Выделить всё
org.postgresql.util.PSQLException: Connection to localhost:5455 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
Конфигурация:
pom.xml (Docker-maven-plugin config)
Код: Выделить всё
io.fabric8
docker-maven-plugin
0.38.1
postgres:16
postgres
postgres
postgres
integPass
0.0.0.0:5455:5432
${project.basedir}/src/test/resources/sqlImports/default/:/docker-entrypoint-initdb.d/
ready to accept connections
5000
< /code>
payara-resource.xml
Подробнее здесь: https://stackoverflow.com/questions/797 ... instance-o