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

Question: Change server name from defaultServer #468

Closed
lancechant opened this issue Oct 12, 2023 · 3 comments
Closed

Question: Change server name from defaultServer #468

lancechant opened this issue Oct 12, 2023 · 3 comments

Comments

@lancechant
Copy link

Hi

We are using the docker images, but one thing I can't change is the server name from defaultServer? as for logging when running multiple images of different applications they are all showing as defaultServer. It shows the application name correctly as it runs that

This is the current way we create an image
FROM open-liberty:23.0.0.6-kernel-slim-java11-openj9 ENV KEYSTORE_REQUIRED=false VERBOSE=true EXPOSE 8080 8543 COPY --chown=1001 dependencies /opt/ol/wlp/usr/ COPY --chown=1001 config /config/ #this has the server.xml and a folder called apps, which as the war file COPY --chown=1001 keystore /var/keystore/ RUN features.sh RUN configure.sh

Am I doing it correctly? I can provide more information if needed

@leochr
Copy link
Member

leochr commented Oct 12, 2023

@lancechant The default server name has many references within the Liberty images (symlinks, startup process, permission settings, server cache, etc) and it's not customizable at the moment. But it's in our roadmap to support. We don't have a timeline to share at this time. Related issue: #284

@leochr
Copy link
Member

leochr commented Oct 12, 2023

Closing as duplicate of #284

@leochr leochr closed this as completed Oct 12, 2023
@lancechant
Copy link
Author

Ah I see thanks, seemed to have missed that issue

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

No branches or pull requests

2 participants