Commit 2d959ddb authored by Spiros Koulouzis's avatar Spiros Koulouzis

added service

parent 072fd91a
FROM python:3.8-buster
RUN apt update -y && apt-get install ansible -y
RUN apt update -y && apt upgrade -y
RUN mkdir -p /usr/src/semaphore-python-client-generated
COPY ../semaphore-python-client-generated /usr/src/semaphore-python-client-generated
WORKDIR /usr/src/semaphore-python-client-generated
RUN python setup.py install
RUN mkdir -p /usr/src/sure_tosca-client_python_stubs
COPY ../sure_tosca-client_python_stubs /usr/src/sure_tosca-client_python_stubs
WORKDIR /usr/src/sure_tosca-client_python_stubs
RUN python setup.py install
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY requirements.txt /usr/src/app/
RUN pip3 install --no-cache-dir -r requirements.txt
COPY . /usr/src/app
......
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: {}
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: mysql
name: mysql
spec:
ports:
- name: "3306"
port: 3306
targetPort: 3306
selector:
io.kompose.service: mysql
status:
loadBalancer: {}
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