I am working with Event Store on a Dockerized environment. I need to load a series of custom projections when the EventStore container boots up.
Currently, I am using the REST API via a script that looks like this:
for projection in $PROJECTIONS
name=$(basename $projection .js)
-i -d @$projection
-H “Content-Type: application/json;charset=UTF-8”
I was wondering whether Event Store looks in a particular directory to load custom projections (it would be nice if I could simply mount such directory).