mirror of
https://github.com/Dannecron/netology-devops.git
synced 2025-12-25 15:22:37 +03:00
homework 13.3: fix prod back and front deployments from 13.1
This commit is contained in:
@@ -25,7 +25,10 @@ spec:
|
||||
name: netology-backend
|
||||
env:
|
||||
- name: DATABASE_URL
|
||||
value: "postgres://pg_user:pg_passwd@postgres:5432/news"
|
||||
value: "postgresql://db_user:db_passwd@postgres:5432/news"
|
||||
ports:
|
||||
- name: web
|
||||
containerPort: 9000
|
||||
terminationGracePeriodSeconds: 30
|
||||
---
|
||||
apiVersion: v1
|
||||
|
||||
@@ -26,6 +26,9 @@ spec:
|
||||
env:
|
||||
- name: BASE_URL
|
||||
value: "http://prod-backend:9000"
|
||||
ports:
|
||||
- name: web
|
||||
containerPort: 80
|
||||
terminationGracePeriodSeconds: 30
|
||||
---
|
||||
apiVersion: v1
|
||||
|
||||
Reference in New Issue
Block a user