| Bookmark Name | Actions |
|---|
Deploy Document Storage in Docker Container
The Document Storage microservice is provisioned for deployment in the Docker container.
Artifacts
The Document Storage microservice deployment for a Docker container is available as a single release bundle file ms-document-package-docker-DEV.0.0-SNAPSHOT.zip.
Before you deploy the package, you should:
- Install Docker Engine in the deployment environment. For more information, see https://docs.docker.com/install/overview/
- Turn on Linux containers in your docker container.
Deploy
To deploy the Document Storage microservice:
- Unzip the
ms-document-package-docker-<release_number>.zip - Check the extracted package contains the configuration files for the docker and the respective bat and sh files
- Navigate from the command prompt to the directory where the .bat and .sh files are available.
- Execute the below command which creates an image and docker container for the image:
- Once the microservice is up and running in docker, check the APIs of the package. The API URL follows this pattern:
Base Path: http://<IP_ADDRESS>:<PORT>/<context-root>/api/<version>/ For Example: http://localhost:8010/ms-document-api/api/v0.8.0/
Resource path of the endpoint can be found in the Swagger JSON file.
For Windows : ms-document.bat up --build -d
For Linux : /ms-document.sh up --build -d
Undeploy
To undeploy the Document Storage microservice:
- Execute the below command from the location, where the party docker is started, to stop and remove the existing container.
For Windows : ms-document.bat down
For Linux : ms-document.sh down
Add Bookmark
save your best linksView Bookmarks
Visit your best linksIn this topic
Are you sure you want to log-off?