Commit 3d6509e2 authored by Spiros Koulouzis's avatar Spiros Koulouzis

added service

parent 0801de36
...@@ -3,16 +3,16 @@ version: '3' ...@@ -3,16 +3,16 @@ version: '3'
services: services:
mongo: mongo:
image: mongo:4 image: mongo:4
#ports: ports:
#- "27017:27017" - "27017:27017"
rabbit: rabbit:
image: rabbitmq:3.8-management image: rabbitmq:3.8-management
#ports: ports:
#- "5671-5672:5671-5672" - "5671-5672:5671-5672"
#- "15672:15672" - "15672:15672"
#- "4369:4369" - "4369:4369"
#- "15671:15671" - "15671:15671"
planner: planner:
depends_on: depends_on:
...@@ -54,8 +54,8 @@ services: ...@@ -54,8 +54,8 @@ services:
sure-tosca: sure-tosca:
image: alogo53/sure-tosca:3.0.0 image: alogo53/sure-tosca:3.0.0
#ports: ports:
#- "30001:8081" - "30001:8081"
#logspout: #logspout:
#ports: #ports:
......
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: mongo
name: mongo
spec:
ports:
- name: "27017"
port: 27017
targetPort: 27017
selector:
io.kompose.service: mongo
status:
loadBalancer: {}
...@@ -12,7 +12,7 @@ spec: ...@@ -12,7 +12,7 @@ spec:
replicas: 1 replicas: 1
selector: selector:
matchLabels: matchLabels:
io.kompose.service: rabbit io.kompose.service: rabbit
strategy: {} strategy: {}
template: template:
metadata: metadata:
...@@ -23,6 +23,12 @@ spec: ...@@ -23,6 +23,12 @@ spec:
containers: containers:
- image: rabbitmq:3.8-management - image: rabbitmq:3.8-management
name: rabbit name: rabbit
ports:
- containerPort: 5671
- containerPort: 5672
- containerPort: 15672
- containerPort: 4369
- containerPort: 15671
resources: {} resources: {}
restartPolicy: Always restartPolicy: Always
status: {} 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: rabbit
name: rabbit
spec:
ports:
- name: "5671"
port: 5671
targetPort: 5671
- name: "5672"
port: 5672
targetPort: 5672
- name: "15672"
port: 15672
targetPort: 15672
- name: "4369"
port: 4369
targetPort: 4369
- name: "15671"
port: 15671
targetPort: 15671
selector:
io.kompose.service: rabbit
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