1. Downloading and installation Node.
js
# Docker has specific installation instructions for each
operating system.
# Please refer to the official documentation at
[Link]
# Pull the [Link] Docker image:
docker pull node:22-alpine
# Create a [Link] container and start a Shell session:
docker run -it --rm --entrypoint sh node:22-alpine
# Verify the [Link] version:
node -v # Should print "v22.20.0".
# Verify npm version:
npm -v # Should print "10.9.3".
2. Installation of Docker Compose
# Update the system and install the required packages
$ sudo apt update && sudo apt upgrade –y
$ sudo apt install -y ca-certificates curl gnupg lsb-release
# Add Docker’s official GPG key
$ sudo mkdir -p /etc/apt/keyrings
$ curl -fsSL [Link] | sudo gpg --dearmor -o /etc/apt/keyrings/[Link]
$ sudo chmod a+r /etc/apt/keyrings/[Link]
# Add Docker repository
$ echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/[Link]]
[Link] \
$(lsb_release -cs) stable" | sudo tee /etc/apt/[Link].d/[Link] > /dev/null
# Install Docker Engine
$ sudo apt update
$ sudo apt install -y docker-ce docker-ce-cli [Link] docker-buildx-plugin docker-compose-plugin
# Verify Docker Installation
3. Installation
$ docker of Yoeman and Alfresco Generator
--version
$ sudo docker run hello-world
Once [Link] is installed, you can install Yeoman as a module:
$ npm install -g yo
And finally, you can install this generator:
$ npm install --global generator-alfresco-docker-installer
After installing yeoman, and the alfresco generator, type this command below before using the project:
$ export NODE_OPTIONS=--openssl-legacy-provider
4. Installation of Alfresco
# Create a Working Directory and Generate the Docker Compose Configuration
$ mkdir docker-compose
$ cd docker-compose
$ yo alfresco-docker-installer
After you have started the alfresco-docker-installer, several options are provided in order to build the configuration,
you have the choose the ones that best fit with the configuration you want to do. (See Deployment Prompt image in
the report)
5. Set the Right Permissions to the Containers
# Postgres Container
$ sudo chown -R 999:999 ./data/postgresql-data ./logs/postgres
# Solr6 Container
$ sudo chown -R 33007 ./data/solr-data