Through more efficient use of compute resources and lower licensing costs.Use this information to quickly start up Content Services using Docker Compose. Once you have Docker for Mac installed, open up the preferences pane for Docker, go to the 'Resources' section and increase the allocated memory to 6GB.From 101 to production with Docker on Windows, 2nd Edition Elton Stoneman. Install Docker for Mac, which includes the Docker engine and a recent version of docker-compose out of the box. Install a Docker Engine and Docker Compose.
Docker Download One OfThese ports are set in the docker-compose.yml file - refer to the host:container port definitions.See the Alfresco/acs-deployment project README for more information.Change directory to the location of your docker-compose.yml file.Log in to Quay.io using your credentials: docker login quay.ioAlfresco customers can request Quay.io credentials by logging a ticket with Alfresco Support. 6.1.N-docker-compose.yml), and then change directory to the project folder: git clone Note: Make sure that the following ports are free on your computer: 5432, 8080, 8083. Make sure that you’ve reviewed the prerequisites before continuing.Clone the repository locally or download one of the docker-compose.yml files (e.g. Depending on your hardware, select the appropriate link in the Get Docker Desktop for Mac section to start the download.To deploy Content Services using Docker Compose, download and install Docker, then follow the steps below. Download the Docker Community Edition installation file from the official Docker download page. This tool gives you the ability to set resource limits for your Docker (memory, CPU, swap and disk image size, file sharing, proxies, and network), configure Docker engine, command line and Kubernetes (you can configure deployment to a Kubernetes from.Install and Configure Docker.Creating docker-compose_imagemagick_1. Creating docker-compose_shared-file-store_1. Creating docker-compose_sync-service_1. DoneCreating docker-compose_digital-workspace_1. Creating docker-compose_postgres_1.As an alternative, you can also start the containers in the background by running docker-compose up -d.Wait for the logs to complete, showing messages. Attaching to docker-compose_postgres_1, docker-compose_tika_1, docker-compose_alfresco_1, docker-compose_digital-workspace_1. Creating docker-compose_transform-router_1. Creating docker-compose_libreoffice_1.Enter the default administrator password admin.Use this information to verify that the system started correctly, and to clean up the deployment.Change directory to the docker-compose folder that you created in the deployment steps.Verify that all the services started correctly.List the images and additional details: docker-compose imagesYou should see a list of the services defined in your docker-compose.yaml file: Container Repository. Startup of 'Transformers' subsystem, ID: completeSee Troubleshooting if you encounter errors whilst the system is starting up.Open your browser and check everything starts up correctly: Service If Docker is running on your local machine, the IP address will be just localhost.If you’re using the Docker Toolbox, run the following command to find the IP address: docker-machine ipLog in as the admin user. Starting 'Transformers' subsystem, ID: Alfresco_1 | 11:50:50,600 INFO. The Alfresco Content Services license will expire in 2 days.Alfresco_1 | 11:50:50,341 INFO. 33.3 MBDocker-compose_postgres_1 postgres. 1.52 GBDocker-compose_digital-workspace_1 quay.io/alfresco/alfresco-digital-workspace. 545.9 MBDocker-compose_alfresco_1 alfresco/alfresco-content-repository. 651.1 MBDocker-compose_solr6_1 alfresco/alfresco-search-services. 785.5 MBDocker-compose_shared-file-store_1 alfresco/alfresco-shared-file-store. 20.42 MBDocker-compose_share_1 alfresco/alfresco-share. DoneStopping docker-compose_sync-service_1. (press Ctrl+C again to force)Stopping docker-compose_transform-router_1. Docker-compose logs -tail=25 shareDocker container logs -tail=25 docker-compose_share_1Check for a success message: Successfully retrieved license information from Alfresco.Once you’ve tested the services, you can clean up the deployment by stopping the running services.Stop the session by using CONTROL+C in the same window as the running services: ^CGracefully stopping. 600.5 MBList the running containers: docker-compose psYou should see a list of the services defined in the docker-compose.yaml file.View the log files for each service , or container : docker-compose logs For example, to check the logs for Share, run any of the following commands: docker-compose logs shareDocker container logs docker-compose_share_1You can add an optional parameter -tail=25 before to display the last 25 lines of the logs for the selected container. 773.4 MBDocker-compose_transform-router_1 quay.io/alfresco/alfresco-transform-router. DoneStopping docker-compose_postgres_1. DoneStopping docker-compose_digital-workspace_1. DoneStopping docker-compose_alfresco_1. DoneRemoving docker-compose_transform-router_1. DoneAlternatively, you can open a new terminal window, change directory to the docker-compose folder, and run: docker-compose downThis stops the running services, as shown in the previous example, and removes them from memory: Stopping docker-compose_transform-router_1. DoneStopping docker-compose_imagemagick_1. DoneStopping docker-compose_libreoffice_1. DoneStopping docker-compose_alfresco-pdf-renderer_1. Python emulator for macDoneRemoving docker-compose_activemq_1. DoneRemoving docker-compose_postgres_1. DoneRemoving docker-compose_shared-file-store_1. DoneRemoving docker-compose_alfresco-pdf-renderer_1.
0 Comments
Leave a Reply. |
AuthorLana ArchivesCategories |