Skip to content
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

Custom init.sh script, master/admin passwords via ENV vars #22

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

OndroMih
Copy link
Contributor

@OndroMih OndroMih commented Dec 28, 2024

Read changes in content.md for description.

Fixes #9.

In short:

The following environment variables can be set to configure GlassFish Server:

  • AS_ADMIN_MASTERPASSWORD - to change the default master password
  • AS_ADMIN_PASSWORD - to change the default admin password

It's possible to specify custom commands to run before GlassFish server starts. Just create a Bash script ${PATH_GF_HOME}/custom/init.sh (/opt/glassfish7/custom/init.sh), it will be executed before GlassFish server starts.

@OndroMih OndroMih requested a review from dmatej December 28, 2024 09:15
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.

Add Doc to introduce Admin/password support
1 participant