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

Archive Docker Image: Optionally overwrite wildfly configuration on container startup #3880

Closed
gunterze opened this issue Nov 28, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@gunterze
Copy link
Member

gunterze commented Nov 28, 2022

Optionally overwrite wildfly configuration on container startup configurable by environment variable:

WILDFLY_CONFIGURATION_VERSION

If file /opt/wildfly/standalone/configuration/VERSION does not contain $WILDFLY_CONFIGURATION_VERSION,
XML configuration files in /opt/wildfly/standalone/configuration will be replaced by versions from
/docker-entrypoint.d/configuration provided by the image on first container start, even if the modification time of
existing files is newer than the files from the docker image, backing up existing files as XY.xml~.
File /opt/wildfly/standalone/configuration/VERSION will be created/updated to contain $WILDFLY_CONFIGURATION_VERSION
to ensure that the configuration files does not get overwritten on next container start, as long
WILDFLY_CONFIGURATION_VERSION is not set to a different value.

By default, it is set to $ARCHIVE_ARC_VERSION, which ensures that the configuration files are replaced if the
archive version provided by the image changes.

@gunterze gunterze added the enhancement New feature or request label Nov 28, 2022
@gunterze gunterze added this to the 5.29.1 milestone Nov 28, 2022
@gunterze gunterze self-assigned this Nov 28, 2022
gunterze added a commit to dcm4che-dockerfiles/wildfly that referenced this issue Nov 28, 2022
gunterze added a commit to dcm4che-dockerfiles/dcm4chee-arc-psql that referenced this issue Nov 28, 2022
gunterze added a commit to dcm4che-dockerfiles/dcm4chee-arc-psql that referenced this issue Nov 28, 2022
gunterze added a commit to dcm4che-dockerfiles/dcm4chee-arc-psql that referenced this issue Nov 28, 2022
gunterze added a commit to dcm4che-dockerfiles/dcm4chee-arc-ui that referenced this issue Nov 28, 2022
gunterze added a commit to dcm4che-dockerfiles/dcm4chee-arc-ui that referenced this issue Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant