07-25-2020 03:24 PM
I had installed alfresco 6.2 using docker installation. But like in case of 5.2 we can stop postgresql and tomcat using the command in root. /alfresco.sh stop.
Similarly for 6.2 also is there any step or how to stop postgresql and tomcat for doing any changes in 6.2.
Thanks in advance
07-25-2020 06:49 PM
You need to use "docker-compose" CLI in order to start, stop, etc.
You can use to start/stop all containers together by using below command:
To start: docker-compose -f ./docker-compose.yml up To stop/shudown: docker-compose -f ./docker-compose.yml down
Or
You can choose to start/stop a selected container as well.
To stop:
docker-compose -f ./docker-compose.yml kill <containerName>
or
docker-compose -f ./docker-compose.yml down <containerName>
To start:
docker-compose -f ./docker-compose.yml up <containerName>
Here -f ./docker-compose.yml is an optional parameter if you are executing the commands where docker-compose.yml file is located. Else you must provide the file with exact path.
For example: docker-compose -f c:\Alfresco\6.1\docker-compose.yml up
You can always, use "docker-compose help" to know more option for docker compose cli.
Refer these post for more details on docker-compose commands:
https://docs.alfresco.com/6.1/tasks/docker-system-startup.html
https://javaworld-abhinav.blogspot.com/2019/11/alfresco-6x-with-sdk4x-and-docker.html
https://docs.docker.com/compose/reference/overview/
Read this post to understand how docker based deployment works: https://hub.alfresco.com/t5/alfresco-content-services-blog/deploying-and-running-alfresco-content-se...
07-25-2020 06:49 PM
You need to use "docker-compose" CLI in order to start, stop, etc.
You can use to start/stop all containers together by using below command:
To start: docker-compose -f ./docker-compose.yml up To stop/shudown: docker-compose -f ./docker-compose.yml down
Or
You can choose to start/stop a selected container as well.
To stop:
docker-compose -f ./docker-compose.yml kill <containerName>
or
docker-compose -f ./docker-compose.yml down <containerName>
To start:
docker-compose -f ./docker-compose.yml up <containerName>
Here -f ./docker-compose.yml is an optional parameter if you are executing the commands where docker-compose.yml file is located. Else you must provide the file with exact path.
For example: docker-compose -f c:\Alfresco\6.1\docker-compose.yml up
You can always, use "docker-compose help" to know more option for docker compose cli.
Refer these post for more details on docker-compose commands:
https://docs.alfresco.com/6.1/tasks/docker-system-startup.html
https://javaworld-abhinav.blogspot.com/2019/11/alfresco-6x-with-sdk4x-and-docker.html
https://docs.docker.com/compose/reference/overview/
Read this post to understand how docker based deployment works: https://hub.alfresco.com/t5/alfresco-content-services-blog/deploying-and-running-alfresco-content-se...
Explore our Alfresco products with the links below. Use labels to filter content by product module.