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

added jupyter

parent b4b272bf
......@@ -74,6 +74,7 @@ class TestDeployer(unittest.TestCase):
response["creationDate"] = output_current_milli_time
logger.info("Returning Deployment")
logger.info("Output message:" + json.dumps(response))
print(json.dumps(response))
if __name__ == '__main__':
......
......@@ -81,15 +81,15 @@ services:
logspout:
ports:
- "30002:80"
volumes:
- /etc/hostname:/etc/host_hostname:ro
- /var/run/docker.sock:/var/run/docker.sock
environment:
publish: "127.0.0.1:30002:80"
image: gliderlabs/logspout:latest
#logspout:
#ports:
#- "30002:80"
#volumes:
#- /etc/hostname:/etc/host_hostname:ro
#- /var/run/docker.sock:/var/run/docker.sock
#environment:
#publish: "127.0.0.1:30002:80"
#image: gliderlabs/logspout:latest
mongo:
......@@ -97,10 +97,10 @@ services:
ports:
- "27017:27017"
#jupyter:
#ports:
#- "30003:8888"
#image: jupyter/base-notebook
jupyter:
ports:
- "30003:8888"
image: jupyter/base-notebook
manager:
......@@ -138,13 +138,13 @@ services:
RABBITMQ_HOST: rabbit
SURE_TOSCA_BASE_PATH: http://sure-tosca:8081/tosca-sure/1.0.0
#deployer:
#depends_on:
#- rabbit
#- sure-tosca
#image: alogo53/deployer:3.0.0
#environment:
#RABBITMQ_HOST: rabbit
deployer:
depends_on:
- rabbit
- sure-tosca
image: alogo53/deployer:3.0.0
environment:
RABBITMQ_HOST: rabbit
#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