mirror of https://github.com/samply/bridgehead.git
Added startup script for metadata feedback
This commit is contained in:
parent
ed95dff63e
commit
6c71a83e70
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
log INFO "######################################### Metadata feedback script was found by Bridgehead"
|
||||||
|
|
||||||
|
if [ "$ENABLE_FEEDBACK_AGENT" == true ]; then
|
||||||
|
log INFO "######################################### Metadata feedback setup detected -- will start Feedback service."
|
||||||
|
OVERRIDE+=" -f ./$PROJECT/modules/feedback-agent-compose.yml"
|
||||||
|
FEEDBACK_AGENT_BEAM_SECRET="$(cat /proc/sys/kernel/random/uuid | sed 's/[-]//g' | head -c 20)"
|
||||||
|
FEEDBACK_AGENT_DB_PASSWORD="$(cat /proc/sys/kernel/random/uuid | sed 's/[-]//g' | head -c 20)"
|
||||||
|
fi
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
# Metadata feedback agent
|
||||||
|
|
||||||
|
This component can be used to choose the sample to be associated
|
||||||
|
with a given piece of metadata (generally the ID of a publication
|
||||||
|
relating to research done with the sample).
|
||||||
|
|
Loading…
Reference in New Issue