From 7c454eca56208c361cf87b378007cafe3730de19 Mon Sep 17 00:00:00 2001 From: GPortas Date: Mon, 27 Mar 2023 12:46:19 +0100 Subject: [PATCH 1/2] Added: Payara admin console port opened in the containerized setup --- doc/sphinx-guides/source/container/dev-usage.rst | 2 ++ docker-compose-dev.yml | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/sphinx-guides/source/container/dev-usage.rst b/doc/sphinx-guides/source/container/dev-usage.rst index 26c789af2c3..7f262770b42 100644 --- a/doc/sphinx-guides/source/container/dev-usage.rst +++ b/doc/sphinx-guides/source/container/dev-usage.rst @@ -45,5 +45,7 @@ In the future, we are planning on running this script within a container as part Check that you can log in to http://localhost:8080 using user ``dataverseAdmin`` and password ``admin1``. +You can also access the Payara Admin Console if needed, which is available at http://localhost:4848. To log in, use user ``admin`` and password ``admin``. + Note that data is persisted in ``./docker-dev-volumes`` in the root of the Git repo. For a clean start, you should remove this directory before running the ``mvn`` commands above. diff --git a/docker-compose-dev.yml b/docker-compose-dev.yml index 4706b8bcb09..2b079cf6029 100644 --- a/docker-compose-dev.yml +++ b/docker-compose-dev.yml @@ -13,7 +13,8 @@ services: - DATAVERSE_DB_PASSWORD=secret - DATAVERSE_DB_USER=${DATAVERSE_DB_USER} ports: - - "8080:8080" # HTTP + - "8080:8080" # HTTP (Dataverse Application) + - "4848:4848" # HTTP (Payara Admin Console) - "9009:9009" # JDWP - "8686:8686" # JMX networks: From aeb606a1f591254b24068477bdcedcb9e0d39d94 Mon Sep 17 00:00:00 2001 From: GPortas Date: Mon, 27 Mar 2023 15:18:38 +0100 Subject: [PATCH 2/2] Added: docs disclaimer about opening Payara console --- doc/sphinx-guides/source/container/dev-usage.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/sphinx-guides/source/container/dev-usage.rst b/doc/sphinx-guides/source/container/dev-usage.rst index 7f262770b42..4eba70eb23b 100644 --- a/doc/sphinx-guides/source/container/dev-usage.rst +++ b/doc/sphinx-guides/source/container/dev-usage.rst @@ -45,7 +45,7 @@ In the future, we are planning on running this script within a container as part Check that you can log in to http://localhost:8080 using user ``dataverseAdmin`` and password ``admin1``. -You can also access the Payara Admin Console if needed, which is available at http://localhost:4848. To log in, use user ``admin`` and password ``admin``. +You can also access the Payara Admin Console if needed, which is available at http://localhost:4848. To log in, use user ``admin`` and password ``admin``. As a reminder, the application container is for development use only, so we are exposing the admin console for testing purposes. In a production environment, it may be more convenient to leave this console unopened. Note that data is persisted in ``./docker-dev-volumes`` in the root of the Git repo. For a clean start, you should remove this directory before running the ``mvn`` commands above.