Custom Projects packaging and publishing

Before you begin

  1. Before creating the image, complete the following steps:
    1. Navigate to the extracted folder and locate castiron_docker/projects
    2. Copy all the required projects .par files to the castiron_docker/projects location
  2. Create the image as described in Creating an App Connect Professional Docker image.
  3. After creating the image in the running container, if the projects need to published then complete the following steps:
    1. Transfer the project .par files to the App Connect Professional Docker container which is running, by using the following command:
      docker cp <project_name>.par <existing_container_ID>:/var/tmp/projects
    2. From the App Connect Professional container CLI prompt, run the following command after copying the projects to the container:
      castiron --restart

About this task

Use this task to publish the projects automatically when the container comes up.

Procedure

Note: If the projects are required to be started as part of the container startup, provide a projects.cfg file in the castiron_docker/projects location or transfer the projects.cfg file to the App Connect Professional Docker container at the /var/tmp/projects location with the information below.

Only the projects mentioned in the projects.cfg will be published and started:

projects.cfg syntax:

projects.cfg examples:


HTTP-Receive.par,1.0,START
FTP-get.par,1.0

Projects can be automatically published or started only with username admin and default password.