Use this information to quickly start up Content Services (including Transform Service) using Docker Compose. Due to the limited capabilities of Docker Compose, this deployment method is only recommended for development and test environments.
To check which branch tag corresponds to a specific Content Services release, review the released versions in GitHub. Choose a version from the left column that corresponds to the required Content Services version you want to deploy.
-
Download one of the Docker Compose files from the
acs-deployment repository, and navigate to the folder where
the file is saved.
Alternatively, if you want to contribute to the open source code, you can use one of the options provided in the Code dropdown of the main repository page. These options are Clone the repository, Open with GitHub Desktop, or Download ZIP to save a copy of the code. For example, if you want to see the latest release code for Content Services 23.x, then select tag v8.0.0.
Note: Make sure that exposed ports are open on your host computer. Check the compose.yaml file to determine the exposed ports - refer to the host:container port definitions. You’ll see they include 5432, 8080, 8083 and others. -
Log in to Quay.io using your credentials:
To log on to Quay.io, search for the required command in the Getting Started section of the Quay Documentation at https://docs.quay.io/.
You need your Quay.io account credentials to access the Docker images.
Alfresco customers can request Quay.io credentials by logging a support ticket via Hyland Support at: https://support.hyland.com. These credentials are required to pull private (Enterprise-only) Docker images from Quay.io.
-
(OPTIONAL) Make sure the Docker Compose file uses the following versions of
Transform Router, Transform Core AIO T-Engine, and Shared file store:
transform-router: mem_limit: 512m image: quay.io/alfresco/alfresco-transform-router:4.1.0 environment: JAVA_OPTS: " -XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80" ACTIVEMQ_URL: "nio://activemq:61616" CORE_AIO_URL: "http://transform-core-aio:8090" FILE_STORE_URL: "http://shared-file-store:8099/alfresco/api/-default-/private/sfs/versions/1/file" ports: - "8095:8095" links: - activemq transform-core-aio: image: alfresco/alfresco-transform-core-aio:5.1.0 mem_limit: 1536m environment: JAVA_OPTS: " -XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80" ACTIVEMQ_URL: "nio://activemq:61616" FILE_STORE_URL: "http://shared-file-store:8099/alfresco/api/-default-/private/sfs/versions/1/file" ports: - "8090:8090" links: - activemq shared-file-store: image: quay.io/alfresco/alfresco-shared-file-store:4.1.0 mem_limit: 512m environment: JAVA_OPTS: " -XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80" scheduler.content.age.millis: 86400000 scheduler.cleanup.interval: 86400000 ports: - "8099:8099" volumes: - shared-file-store-volume:/tmp/Alfresco/sfs -
Deploy Content Services, including the repository, Share, Postgres database,
Search Services, and Transform Service using a Docker command.
For the required Docker command, see the CLI reference section on the Docker Documentation site at https://docs.docker.com.
This downloads the images, fetches all the dependencies, creates each container, and then starts the system.
If you encounter errors, refer to Troubleshooting in the Install chapter of the Alfresco Content Services documentation.
Note: You need a machine with at least 13GB of memory to distribute among the Docker containers. -
Once the logs are completed, open your browser and check everything starts up
correctly:
Service Endpoint Administration and REST APIs http://localhost:8080/alfresco Share http://localhost:8080/share Digital Workspace http://localhost:8080/workspace Search Services administration (see the Install using Docker Compose section in the Alfresco Content Services documentation for info on how to login) http://localhost:8083/solr Transform Router configuration http://localhost:8095/transform/config ActiveMQ Admin Web Console http://localhost:8161/admin -
Log in as the admin user. Enter the default administrator
password admin.
You can use a number of commands to check that the system started correctly, see below.
See the Alfresco/acs-deployment GitHub project documentation for the prerequisites and detailed setup.