run bash command after git clone #4239
benjaminpreiss
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to deploy openreplay on coolify using secrets managed by infisical.
openreplay requires a setup command right after git clone and before docke-compose build, that loads a .env file.
The secrets lie within infisical.
So, what I want to do is:
infisical export --token=$(infisical login --method=universal-auth --client-id=***** --client-secret=***** --silent --plain) --projectId="*****" --format=dotenv > .env
./load.sh
Currently, I have a fork of openreplay that I use: https://github.com/frontline-hq/openreplay. I need to use this fork, because the original openreplay doesnt allow loading from a .env currently.
It would be great if coolify would allow running a custom command (with access to env variables) after git clone.
Beta Was this translation helpful? Give feedback.
All reactions