Docker Information

Containerising, configuring and pushing your applications.
If you are looking to push your application to IndustryApps via Docker, you can integrate your application credentials into a docker-compose.yml file. The following compositions offer sample templates that may be used while pushing your application categorised by server-side languages.
The docker-compose.yml file will need to contain an image name appropriate to your application should you decide to push your container onto the IndustryApps platform directly.
Navigate to:
Applications > {App Name} > App Data, the required name will be available as shown below:
Unique application container image name

Things to note when containerising your application

The IndustryApps system expects the apps to be containerised and pushed to our container registry. When containerising the app please take care of below points.
  • The application start command should be added in the ENTRYPOINT.
  • Application should be running on port 80.
  • The Eureka Server URL and hostname should be set as environment variable - EUREKA_SERVER and HOSTNAME.
  • If the application is hosted externally, the hostname and status check which point to the platform require ssl certification for a successful registration.
To Deploy onto the IndustryApps docker registry, tag your applications' docker composition as seen below.
docker build --tag<my_company>/<APPID>
You may simply copy your applications unique URI from 'Applications > {App Name} > App Data' as seen above.
To Push your container onto the registry, execute the following command in terminal. Copy into the terminal the unique URI.
docker push<my_company>/<APPID>
Additionally, please be sure to configure the context URL for your client-side application in your index.html file as a relative path. An example shown below illustrates how this can be accomplished with Angular.
<meta charset="utf-8">
<base href=".">
If the application container image is pushed onto the platform, be sure to configure the application under a sub-directory inside your application directories designated as your applications'APPCODE.{APPCODE}/