Application Packaging Standard

Last updated 18-Mar-2019

Docker based Deployment

APS application developers can simplify the application deployment on the platform by adding the deployment data to the APS package.

Deployment Schema

The platform simplifies the APS connector deployment for the providers by supporting the deployment of APS connectors on Docker containers. To get familiar closer with that technology, study the Docker documentation.

If you successfully passed the Get Started demo project you must have the configured local development environment and a test platform including a server to be used as the endpoint node. Otherwise, prepare your environment as explained in the following sections:

  1. Set up Local APS Development Environment
  2. Set up Test System

After that, register the server as the APS endpoint service node on the management node as explained in the Register Endpoint Host section.

After completion of the above steps, your development environment must look as follows:

../../../../_images/deployment-schema-docker.png

Docker Registry Setting

By default the platform is configure to use a Docker registry that might be not available in your installation. Typically, you should change this for the Docker registry that is used by the APS applications you are going to deploy in your APS ecosystem. Change it in the provider control panel (PCP) as follows.

  1. Navigate to System > Settings and click on the Docker Registry Settings option.
  2. Edit the Docker Registry Hostname as needed. If the images of the APS applications are stored in the Docker public registry, the host name is docker.io.
  3. Click Submit to save the changes.

Configuration Methods

The platform allows you to use any methods to create images for Docker containers. For example, you can follow these approaches:

  • Use the simple method based on a predefined project template
  • Modify the previous method or use your own method, for example basing on the general approach.