SEBA-749 Initial Checkin of nem-ondemand-proxy;
Add Makefile
Add Kubernetes yaml and scripts
Change-Id: Ic76d2a68bb11a95d5d57a04f1fab373ec36c0958
diff --git a/compose/nem-proxy-go.yml b/compose/nem-proxy-go.yml
new file mode 100644
index 0000000..53af21b
--- /dev/null
+++ b/compose/nem-proxy-go.yml
@@ -0,0 +1,35 @@
+---
+# Copyright 2018 the original author or authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+version: '2'
+services:
+ nem-proxy:
+ image: "${REGISTRY}${REPOSITORY}nem-ondemand-proxy${TAG}"
+ logging:
+ driver: "json-file"
+ options:
+ max-size: "10m"
+ max-file: "3"
+ command: [
+ "/app/nem-proxy",
+ ]
+ ports:
+ - "50052:50052"
+ networks:
+ - default
+
+networks:
+ default:
+ driver: bridge