Skip to content

Commit

Permalink
Fixing redis host
Browse files Browse the repository at this point in the history
  • Loading branch information
faiyaz26 committed Aug 28, 2018
1 parent 0164ee6 commit f27d6f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ COPY server.js .
RUN npm install

ENV ENV_NAME prod
ENV REDIS_URL redis
ENV REDIS_HOST redis-master.default.svc.cluster.local

EXPOSE 3000

Expand Down
4 changes: 2 additions & 2 deletions k8s/deployments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
labels:
app: rtn-k8s
spec:
replicas: 1
replicas: 3
selector:
matchLabels:
app: rtn-k8s
Expand All @@ -16,6 +16,6 @@ spec:
spec:
containers:
- name: rtn-k8s
image: gcr.io/rtn-k8s/rtn-k8s:1.0
image: gcr.io/rtn-k8s/rtn-k8s:1.1
ports:
- containerPort: 3000

0 comments on commit f27d6f3

Please sign in to comment.