Skip to content

Comments

Opens Payara Admin Console port in the dev containerized setup#9478

Merged
kcondon merged 2 commits intoIQSS:developfrom
GPortas:9476-open-container-payara-admin
Mar 27, 2023
Merged

Opens Payara Admin Console port in the dev containerized setup#9478
kcondon merged 2 commits intoIQSS:developfrom
GPortas:9476-open-container-payara-admin

Conversation

@GPortas
Copy link
Contributor

@GPortas GPortas commented Mar 27, 2023

What this PR does / why we need it

Opens port 4848 of the dev_dataverse service, inside the docker-compose-dev file, to make the Payara Admin Console accessible in the containerized setup.

Which issue(s) this PR closes

Special notes for your reviewer

N/A

Suggestions on how to test this

  • Follow the existing guide to initialize the containers. After setting up the environment, check that Payara Admin Console is accessible on port 4848.
  • Check that you can login with username admin and password admin

Does this PR introduce a user interface change? If mockups are available, please link/include them here

No

Is there a release notes update needed for this change?

No

Additional documentation

N/A

@GPortas GPortas marked this pull request as ready for review March 27, 2023 11:54
Copy link
Member

@pdurbin pdurbin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't test this but the change makes sense.

Copy link
Member

@pdurbin pdurbin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add some sort of reminder about security, per Don's comment.


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``.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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, this container is only for development usage! In production (which you shouldn't use these images for), do not expose port 4848 and if you leave the admin console enabled, change the password!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have rephrased the disclaimer a bit. I would rather not suggest opening the console in any case for production.

@GPortas GPortas assigned pdurbin and unassigned GPortas Mar 27, 2023
@GPortas GPortas changed the title Opens Payara Admin Console port in the containerized setup Opens Payara Admin Console port in the dev containerized setup Mar 27, 2023
Copy link
Member

@pdurbin pdurbin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@pdurbin pdurbin removed their assignment Mar 27, 2023
@kcondon kcondon self-assigned this Mar 27, 2023
@kcondon kcondon merged commit 5d9e27d into IQSS:develop Mar 27, 2023
@pdurbin pdurbin added this to the 5.14 milestone May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make Payara Admin Console accessible in the containerized setup

3 participants