You are here

Deploying using Docker Compose

Use this information to quickly start up Alfresco Community Edition using Docker Compose. Due to the limited capabilities of Docker Compose, this deployment method is recommended for development and test environments only.

To deploy Alfresco Community Edition using docker-compose, download and install Docker, then follow the steps below.

  1. Clone the project locally, change directory to the project folder, and switch to the release branch:

    git clone
    cd acs-community-deployment
    git checkout 3.0.1
    Note: Make sure that the following ports are free on your computer: 5432, 8080, 8083. These ports are set in the docker-compose.yml file.

    In this example, the release tag 3.0.1 relates to the latest Alfresco Community Edition 201911 GA release that uses the repository image tag 6.2.0-ga.

    You can skip the git checkout command to deploy Alfresco Community Edition using the latest images. By doing this, you'll access the latest (and possibly unreleased) components, such as release candidates (i.e. -RC).

    Alternatively, you can use the following link to view or download the project source code (as a zip file):

    You can find a list of releases in the following page:

  2. Change directory to the docker-compose folder:

    cd docker-compose
  3. Deploy Alfresco Community Edition, including the repository, Share, Postgres database, Search Services, etc.:

    docker-compose up

    This downloads the images, fetches all the dependencies, creates each container, and then starts the system:

    Creating docker-compose_postgres_1              ... done
    Creating docker-compose_activemq_1              ... done
    Creating docker-compose_libreoffice_1           ... done
    Creating docker-compose_imagemagick_1           ... done
    Creating docker-compose_transform-misc_1        ... done
    Creating docker-compose_alfresco_1              ... done
    Creating docker-compose_solr6_1                 ... done
    Creating docker-compose_alfresco-pdf-renderer_1 ... done
    Creating docker-compose_tika_1                  ... done
    Creating docker-compose_share_1                 ... done
    Creating docker-compose_proxy_1                 ... done
    Attaching to docker-compose_alfresco-pdf-renderer_1, docker-compose_share_1, docker-compose_tika_1, docker-compose_al...

    If you downloaded the project and changes were made to the project settings, any new images will be pulled from GitHub before the system starts.

    As an alternative, you can also start the containers in the background by running docker-compose up -d.

  4. Wait for the logs to complete, showing messages:

    alfresco_1 | 2019-10-28 09:50:50,388  INFO ... Starting 'Transformers' subsystem, ID: [Transformers, default]
    alfresco_1 | 2019-10-28 09:50.50,782  INFO ... Startup of 'Transformers' subsystem, ID: [Transformers, default] complete

    If you encounter errors whilst the system is starting up:

    • Stop the session by using CONTROL+C, or alternatively, stop and restart using:
      docker-compose down && docker-compose build --no-cache && docker-compose up
    • Remove the containers (using the --rmi all option):
      docker-compose down --rmi all
    • Try allocating more memory resources, as advised in docker-compose.yml. For example, in Docker, change the memory setting in Preferences (or Settings) > Advanced > Memory, to at least 6 GB. Make sure you restart Docker and wait for the process to finish before continuing.
    • Go back to step 3 (above) to start the deployment again.
    Note: Although 16 GB is the required minimum memory setting, keep in mind that 6 GB is much lower than the required minimum, and may need to be adapted for your environment.
  5. Open your browser and check everything starts up correctly:

    Service Endpoint
    Administration and REST APIs http://localhost:8080/alfresco
    Share http://localhost:8080/share
    Search Services administration http://localhost:8083/solr

  6. Log in as the admin user. Enter the default administrator password admin.

See the Alfresco/acs-community-deployment GitHub project documentation for the prerequisites. You'll find a link to the relevant detailed setup in the Docker Compose steps section.

In this project, you can use the docker-compose.yml file following the documentation for standard installations, or customize the file to apply settings as appropriate to your specific deployment environment.

Sending feedback to the Alfresco documentation team

You don't appear to have JavaScript enabled in your browser. With JavaScript enabled, you can provide feedback to us using our simple form. Here are some instructions on how to enable JavaScript in your web browser.