Deploying Version 9.1 with Docker Compose (for non-production usage)

You can deploy Version 9.1 simply using Docker Compose. Generally, you deploy an authoring environment and a live environment to work together. In this standard configuration, you update and modify your store in the authoring environment, and then propagate the changes to the live environment.

Important:
  • This environment should not be used for a live production site as it misses some required production grade components and considerations, such as security hardening, deployment orchestration and load balancing for high availability support, ingress routing, and performance tuning capabilities. To operate Version 9.1 in a live production environment, you must deploy it in a Kubernetes cluster and commit further time and resources to performance and security considerations.

    With load balancing and ingress routing specifically, you can configure which services you want to expose externally, and restrict the remaining services within the cluster network. This configuration limits their access from and exposure to the wider Internet.

  • Docker Compose deployments do not support the use of the root user. Beginning in 9.1.14.0, application container images are built to be run as a non-root user by default. This change has the potential to break your custom deployment. Therefore, you must review this change and its potential impacts. For more information, see ../concepts/ciginstall_nonrootdocker.html.

About this task

This section provides a method for deploying an authoring and live environment by using native Docker Compose scripts. Use this method to learn and understand how the authoring and live environments interact. You can also use this method to explore the different application topologies that are required for the various combinations of solutions that are available. When you are ready to create a production environment to serve end-users, you will want to build a more complex system, for greater and more fine-grained control over your deployment.

  • For more information on planning your production environment, see Planning your production environment.
  • For more information on the various production environment topologies, based on the search and store solutions, see ../refs/riginfrastructure.html.
  • The Docker-based deployment was simplified, and features additional automation in the 9.1.6.0 release.

    Specific improvements include:

Procedure