Commit 5e0cbb68 authored by Spiros Koulouzis's avatar Spiros Koulouzis

added jupyter

parent b4b272bf
...@@ -74,6 +74,7 @@ class TestDeployer(unittest.TestCase): ...@@ -74,6 +74,7 @@ class TestDeployer(unittest.TestCase):
response["creationDate"] = output_current_milli_time response["creationDate"] = output_current_milli_time
logger.info("Returning Deployment") logger.info("Returning Deployment")
logger.info("Output message:" + json.dumps(response)) logger.info("Output message:" + json.dumps(response))
print(json.dumps(response))
if __name__ == '__main__': if __name__ == '__main__':
......
...@@ -81,15 +81,15 @@ services: ...@@ -81,15 +81,15 @@ services:
logspout: #logspout:
ports: #ports:
- "30002:80" #- "30002:80"
volumes: #volumes:
- /etc/hostname:/etc/host_hostname:ro #- /etc/hostname:/etc/host_hostname:ro
- /var/run/docker.sock:/var/run/docker.sock #- /var/run/docker.sock:/var/run/docker.sock
environment: #environment:
publish: "127.0.0.1:30002:80" #publish: "127.0.0.1:30002:80"
image: gliderlabs/logspout:latest #image: gliderlabs/logspout:latest
mongo: mongo:
...@@ -97,10 +97,10 @@ services: ...@@ -97,10 +97,10 @@ services:
ports: ports:
- "27017:27017" - "27017:27017"
#jupyter: jupyter:
#ports: ports:
#- "30003:8888" - "30003:8888"
#image: jupyter/base-notebook image: jupyter/base-notebook
manager: manager:
...@@ -138,13 +138,13 @@ services: ...@@ -138,13 +138,13 @@ services:
RABBITMQ_HOST: rabbit RABBITMQ_HOST: rabbit
SURE_TOSCA_BASE_PATH: http://sure-tosca:8081/tosca-sure/1.0.0 SURE_TOSCA_BASE_PATH: http://sure-tosca:8081/tosca-sure/1.0.0
#deployer: deployer:
#depends_on: depends_on:
#- rabbit - rabbit
#- sure-tosca - sure-tosca
#image: alogo53/deployer:3.0.0 image: alogo53/deployer:3.0.0
#environment: environment:
#RABBITMQ_HOST: rabbit RABBITMQ_HOST: rabbit
#volumes: #volumes:
......
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose --file docker-compose.yml convert
kompose.version: 1.16.0 (0c01309)
creationTimestamp: null
labels:
io.kompose.service: jupyter
name: jupyter
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: jupyter
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
io.kompose.service: jupyter
spec:
containers:
image: jupyter/base-notebook
name: jupyter
ports:
- containerPort: 8888
resources: {}
restartPolicy: Always
status: {}
apiVersion: v1
kind: Service
metadata:
annotations:
kompose.cmd: kompose --file docker-compose.yml convert
kompose.version: 1.16.0 (0c01309)
creationTimestamp: null
labels:
io.kompose.service: jupyter
name: jupyter
spec:
type: NodePort
ports:
- port: 8888
nodePort: 30003
selector:
io.kompose.service: jupyter
status:
loadBalancer: {}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment