diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6947dc8 --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +.PHONY: all + +build: + docker build -t microinfrastructure/process-uc3-portal:3938873 . + +run: build + docker run -it microinfrastructure/process-uc3-portal:3938873 /bin/sh + +push: build + docker push microinfrastructure/process-uc3-portal:3938873 + diff --git a/portal-pod-on-lrz.json b/portal-pod-on-lrz.json new file mode 100644 index 0000000..5892e06 --- /dev/null +++ b/portal-pod-on-lrz.json @@ -0,0 +1,31 @@ +{ + "name": "uc3-portal-1", + "namespace": "uc3", + "dedicatedNode": false, + "deployNode": "process-dss", + "runAsUser":3938873, + "runAsGroup":2222, + "storageAdaptorContainers": [ + + ], + "initContainers": [], + "logicContainers": [ + { + "name": "lrz-portal", + "type": "generic", + "image": "microinfrastructure/process-uc3-portal:3938873", + "env":[ + {"name": "DIR", "value": "/mnt"} + ], + "mountHost": [ + { "hostPath": "/mnt/dss", "mountPath": "/mnt" } + ], + "port":8080, + "service":{ + "enabled": true + }, + "cmd":["python -m browsepy --debug 0.0.0.0 8080 --directory $DIR/process/UC3"] + } + ] + +}