Created
April 20, 2020 08:25
-
-
Save ChrisChinchilla/9a2a5362a1585a3adb671a740d5d15e8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
labels: | |
app: ecommerce | |
tier: backend | |
name: product-be | |
spec: | |
replicas: 2 | |
selector: | |
matchLabels: | |
app: ecommerce | |
tier: backend | |
template: | |
metadata: | |
labels: | |
app: ecommerce | |
tier: backend | |
spec: | |
containers: | |
- env: | |
- name: DATABASE_HOST | |
value: postgres | |
- name: DATABASE_NAME | |
value: product | |
- name: DATABASE_PASSWORD | |
value: pr0dr0b0t | |
- name: DATABASE_USER | |
value: product_robot | |
- name: DATABASE_PORT | |
value: "5432" | |
image: chrischinchilla/humanitech-product-be | |
imagePullPolicy: "IfNotPresent" | |
name: product-be | |
ports: | |
- containerPort: 8080 | |
restartPolicy: Always |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment