Skip to content

Commit

Permalink
Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
recap committed Oct 29, 2020
1 parent 37d8d67 commit eb9e6b0
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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

31 changes: 31 additions & 0 deletions portal-pod-on-lrz.json
Original file line number Diff line number Diff line change
@@ -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"]
}
]

}

0 comments on commit eb9e6b0

Please sign in to comment.