Commit e89d3965 authored by Matthieu Lamalle's avatar Matthieu Lamalle
Browse files

ok deployments

parent 1465b081
......@@ -18,11 +18,15 @@ spec:
service: redis
spec:
containers:
- name: redis
- env:
- name: GET_HOSTS_FROM
value: dns
name: redis
image: redis:latest
ports:
- containerPort: 6379
resources: {}
---
kind: Service
......
kind: Deployment
apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2
apiVersion: extensions/v1beta1 # for versions before 1.9.0 use apps/v1beta2
metadata:
name: scrumblr
labels:
......@@ -18,12 +18,25 @@ spec:
service: scrumblr
spec:
containers:
- name: scrumblr
image: luceole/e-scrumblr:latest
- env:
- name: SCRUMBLR_PORT
value: "8080"
- name: SCRUMBLR_BASEURL
value: /
- name: REDIS_PORT_6379_TCP_ADDR
value: redis
- name: REDIS_PORT_6379_TCP_PORT
value: "6375"
- name: GET_HOSTS_FROM
value: dns
name: scrumblr
image: timmit/scrumblr:latest
ports:
- containerPort: 8080
resources: {}
---
kind: Service
......@@ -36,8 +49,5 @@ spec:
selector:
service: scrumblr
ports:
- protocol: TCP
port: 8080
- port: 8080
targetPort: 8080
name: http
nodePort: 30002
\ No newline at end of file
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