Preconfigure projection definitions

Is there a way to preconfigure eventstore projection definitions, so that a http api call just for setting up the projection is not necessary?
For example, I’d like to be able to map a configuration file to the docker container if possible.

Use a bash script as the entry point and from there use curl.

Great idea. Thank you.

Course the other thing you can do is make it a startup concern of your application. Personally this is what I would do.