Seed Import
You can declare a set of resources in Aidbox project and get them loaded in one or many Aidboxes on start. To do this you need to describe the seed service in the system entrypoint.
Example
In this example importbox/importbox
is the system entrypoint defined in the AIDBOX_ZEN_ENTRYPOINT
variable, the files described in the :files
field are located inside the zen project defined in the variable AIDBOX_ZEN_PATHS
.
Seed Service
:files
- which ndjson.gz
files will be imported at system startup. These files must be located inside the zen project described in the variable AIDBOX_ZEN_PATHS
.
:resources
- in-place resources definitions that will be imported at system startup.
:migrations
— vector of migrations. Each migration is a map containing id
and sql
keys.
Last updated