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 script in smtp #8

Merged
merged 2 commits into from
Nov 24, 2023
Merged

Implement custom script in smtp #8

merged 2 commits into from
Nov 24, 2023

Conversation

f-necas
Copy link
Contributor

@f-necas f-necas commented Nov 20, 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 :

 smtp:
    ...
    volumes:
      - georchestra_datadir:/etc/georchestra
    environment:
      - CUSTOM_SCRIPTS_DIRECTORY=/etc/georchestra/smtp/scripts

Copy link
Member

@edevosc2c edevosc2c left a comment

Choose a reason for hiding this comment

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

There is a need to upgrade to FROM debian:buster, otherwise the container does not build.
Could you upgrade to this new image?

@f-necas f-necas requested a review from edevosc2c November 23, 2023 13:23
@f-necas f-necas merged commit 073b090 into master Nov 24, 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.

2 participants