Right now when new docker files / docker compose blocks are implemented (ex: a docker compose block for a Go API), one must manually put the name of the new docker compose block inside a manually made list containing the names. These names are saved into the database upon startup.
Adding the names inside the list seems like an unnecessary task and can be automated so you don't have to put the names manually. It also reduces the amount of tasks one must do to add support for new services.
Here is the startup function that is responsible for this and has the name list:
Right now when new docker files / docker compose blocks are implemented (ex: a docker compose block for a Go API), one must manually put the name of the new docker compose block inside a manually made list containing the names. These names are saved into the database upon startup.
Adding the names inside the list seems like an unnecessary task and can be automated so you don't have to put the names manually. It also reduces the amount of tasks one must do to add support for new services.
Here is the startup function that is responsible for this and has the name list:
https://github.com/AutoPacker-OSS/autopacker/blob/9197f373d915089f3086558b067d2ae5f674ecae/file-delivery-api/src/main/java/no/autopacker/filedeliveryapi/init/DBImportDefaultDockerFilesCompose.java#L34-L45