Add automation for ADML HTTP image creation
[anna.git] / INSTALL_ADML_HTTP.md
diff --git a/INSTALL_ADML_HTTP.md b/INSTALL_ADML_HTTP.md
new file mode 100644 (file)
index 0000000..785c4dd
--- /dev/null
@@ -0,0 +1,21 @@
+# ADML with REST Interface (ADML-HTTP)
+
+## Deployment
+
+Execute 'example/diameter/launcher/deploy-adml-http.sh' and follow instructions.
+
+## Enabling HTTP2 Service
+
+This is done through nginx proxy configured as reverse proxy to translate `HTTP2` traffic coming to port *8074* towards *localhost* port *8000* where `ADML HTTP` is going to serve the *HTTP1.1* Rest Service.
+
+To build the docker image, execute this script:
+
+> tools/build-adml-http [variant: [Release]|Debug]
+
+## Running docker image
+
+> docker run --rm -d --network host --name adml-http anna-adml-http:<version>
+
+## Monitoring ADML traces
+
+> docker exec -it adml-http tail -F /opt/adml/launcher.trace
\ No newline at end of file