This container provides a RESTful API for interacting with the AI service.
To use the AI service you need to specify two parameters:
Docker command to start the container: docker run -d -t -e MAX_HEAP=2g -v /path/to/ml.properties:/etc/config/ml.properties netgovern/ai:latest
By default the AI service will use the port 8089. If the port is not available you can use: docker run -d -t -p :8089 -e MAX_HEAP=2g -v /path/to/ml.properties:/home/netmail/ml.properties netgovern/ai:latest
server.properties=8089 #select either Sagemaker or Azure as cloud service cloud.service.class=com.netmail.ml.azure.AzureProvider #cloud.service.class=com.netmail.ml.sagemaker.SagemakerMlService
############################################
############################################ #path to winutils.exe file on windows hadoop.winutils=/
############################################
############################################ aws.key.id=<AWS_KEY_ID> aws.key.secret=<AWS_SECRET> aws.bucket=sagemaker-us-netmail aws.region=us-east-1 nbThreads=5
#spark configuration spark.master=local[4] #spark.master=spark://<SPARK_MASTER_IP>:7077
############################################
############################################ azure.account.name=ngmlworkspacestorage #key for the storage account azure.storage.key=<AZURE_STORAGE_KEY> #key for machine learning models azure.ml.account.key=<AZURE_ML_KEY> azure.endpoint.suffix=core.windows.net azure.default.endpoints.protocol=https azure.workspace=<AZURE_WORKSPACE_ID> azure.subscriptionId=<AZURE_SUBSCRIPTION_ID>
Content type
Image
Digest
sha256:d401b6832…
Size
538 MB
Last updated
almost 2 years ago
docker pull netgovern/ai:9999.99.9