@@ -47,6 +47,11 @@ const recipeProps = {
4747 // executes `docker build` in project temp dir
4848 // returns following object: {log, image}
4949 build,
50+ // exoframe build from params function
51+ // has following signature: ({tarStream, tag, logLine = noop}) => {}
52+ // executes `docker build` on given tarStream with given tag
53+ // return following object: {log, image}
54+ buildFromParams,
5055 // exoframe start function
5156 // has the following signature: async ({image, username, resultStream}) => {}
5257 // executes `docker start` with given image while setting all required labels, env vars, etc
@@ -77,6 +82,11 @@ const recipeProps = {
7782 // exoframe network get function
7883 // returns currently used exoframe network
7984 getNetwork,
85+ // exoframe network creation function
86+ // has the following signature: async (networkName) => {}
87+ // finds or creates new network with given name
88+ // returns dockerode network object
89+ createNetwork,
8090 },
8191 // exoframe utilities & logger
8292 // see code here: https://github.com/exoframejs/exoframe-server/blob/master/src/util/index.js
@@ -256,3 +266,4 @@ exports.runSetup = async ({answers, serverConfig, username, docker, util}) => {
256266## Examples
257267
258268* [ Wordpress recipe] ( https://github.com/exoframejs/exoframe-recipe-wordpress ) (incl. Wordpress, MariaDB and PHPMyAdmin)
269+ * [ HOBBIT project recipe] ( https://github.com/hobbit-project/exoframe-recipe-hobbit ) (very complex recipe incl. volumes with configs, pre-setup scripts, etc.)
0 commit comments