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

Implement custom-scripts to geonetwork #262

Merged
merged 2 commits into from
Nov 24, 2023
Merged

Conversation

f-necas
Copy link
Collaborator

@f-necas f-necas commented Nov 17, 2023

Custom scripts

This PR adds the capability to run scripts at startup of the container.

It's a part of the georchestra PR :

Soving issue :

How-to

Set CUSTOM_SCRIPTS_DIRECTORY environment variable to point to a valid volume.
Set a volume with scripts to execute.

Example :

 geonetwork:
    image: georchestra/geonetwork:latest
    ...
    volumes:
      - georchestra_datadir:/etc/georchestra
    environment:
      - CUSTOM_SCRIPTS_DIRECTORY=/etc/georchestra/geonetwork/scripts

@f-necas f-necas changed the title feat: add custom-scripts to geonetwork Implement custom-scripts to geonetwork Nov 20, 2023
@edevosc2c
Copy link
Member

Ready to be merged

@f-necas f-necas merged commit 4a4ed99 into georchestra-gn4.2.x Nov 24, 2023
1 check passed
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.

2 participants