You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

 Here are listed some recommendations when deploying Aspire using the container images.

Official container image:

 - docker.repository.sca.accenture.com/docker/aspire:5.0

Local Maven repository (development and testing)

The official docker image provided with Aspire assumes Internet connectivity for downloading the jar files needed for the different connectors and components on Aspire.

If running with the official container image, it is recommended to provide a volume pointing to /opt/aspire/.m2/repository on all containers for the jars to be downloaded only once, otherwise if restarted, the container would download all the jar files again.

If you are running the service locally and deploying to your local .m2 repository, you could provide:

volumes:
- ~/.m2/repository:/opt/aspire/.m2/repository

So your containers can see what you install locally when running "mvn clean install" on your aspire components

Offline Mode (production)

For production deployments it is recommended to create a custom Aspire image, containing all the jar files needed for the deployment to run. This way no new downloads will be required during restarts and uptime will be improved.

You'll need to have Maven 3 installed, and configured to use https://repository.sca.accenture.com/artifactory/public as the repository. Follow Configuring Maven for Aspire

  1. Create a directory for your custom image build
    1.  
  2. Create the Dockerfile for your image:
  3. Modify your


  • No labels