ACS-8357 Migrate to Docker Compose v2 (#2069)

This commit is contained in:
Domenico Sibilio
2024-07-15 10:48:14 +02:00
committed by GitHub
parent 95a128380d
commit b2be2f5390
4 changed files with 7 additions and 7 deletions

View File

@@ -219,13 +219,13 @@ $ yo alfresco-docker-compose --acsVersion=6.2 --alfrescoVersion=community --http
Once the files have been generated, just start Docker Compose. Once the files have been generated, just start Docker Compose.
``` ```
$ docker-compose up --build --force-recreate $ docker compose up --build --force-recreate
``` ```
You can shutdown it at any moment using following command. You can shutdown it at any moment using following command.
``` ```
$ docker-compose down $ docker compose down
``` ```
**Community URLs** **Community URLs**

View File

@@ -42,5 +42,5 @@ python3 BuildScripts/generator/generator.py --alfresco=quay.io/alfresco/alfresco
# Starting the containers # Starting the containers
To start the containers you also need to build the images - for example: To start the containers you also need to build the images - for example:
``` ```
docker-compose up --build --force-recreate docker compose up --build --force-recreate
``` ```

View File

@@ -16,7 +16,7 @@ start-manager: ## 1 - start BM Manager
$(helpers)/wait-service-to-start.sh http://localhost:9080/alfresco-bm-manager $(helpers)/wait-service-to-start.sh http://localhost:9080/alfresco-bm-manager
start-drivers: ## 2 - start BM Drivers start-drivers: ## 2 - start BM Drivers
$(dc) -f docker-compose-drivers.yml pull && docker-compose -f docker-compose-manager.yml -f docker-compose-drivers.yml up -d $(dc) -f docker-compose-drivers.yml pull && docker compose -f docker-compose-manager.yml -f docker-compose-drivers.yml up -d
start-all: start-manager start-drivers ## 3 - start BM Manager and Driver start-all: start-manager start-drivers ## 3 - start BM Manager and Driver

View File

@@ -509,17 +509,17 @@ docker-compose files can be used to start up Search Services with Alfresco and S
```bash ```bash
cd packaging/target/docker-resources/6.x cd packaging/target/docker-resources/6.x
docker-compose up docker compose up
``` ```
##Docker Master-Slave setup ##Docker Master-Slave setup
We have seperate docker compose file for slave. To setup Master slave setup We have seperate docker compose file for slave. To setup Master slave setup
`docker-compose -f docker-compose.yml -f ./master-slave/docker-compose.slave.yml up` `docker compose -f docker-compose.yml -f ./master-slave/docker-compose.slave.yml up`
The slave running behind the nginx load balancer under 8084, so we can spin up multiple slaves with the same port. To deploy multiple slaves The slave running behind the nginx load balancer under 8084, so we can spin up multiple slaves with the same port. To deploy multiple slaves
`docker-compose -f docker-compose.yml -f ./master-slave/docker-compose.slave.yml up --scale search_slave=2` `docker compose -f docker-compose.yml -f ./master-slave/docker-compose.slave.yml up --scale search_slave=2`
This will start up Alfresco, Postgres, Share and SearchServices. You can access the applications using the following URLs: This will start up Alfresco, Postgres, Share and SearchServices. You can access the applications using the following URLs: