Ocelot-Social/services/backend.yml
Robert Schäfer e8b212f5cc Backend is accessible only from internal network
I think this is better. For development it might be interesting to have
access to the backend but I think one should do development with
docker-compose not minikube and such.
2019-02-01 01:09:41 +01:00

15 lines
321 B
YAML

apiVersion: v1
kind: Service
metadata:
name: nitro-backend
namespace: staging
labels:
workload.user.cattle.io/workloadselector: deployment-staging-backend
spec:
ports:
- name: web
port: 4000
targetPort: 4000
selector:
workload.user.cattle.io/workloadselector: deployment-staging-backend