Last active
April 2, 2019 14:29
-
-
Save shalkam/810c44954bd95c7074cfa9dd60ef8a6e to your computer and use it in GitHub Desktop.
deployment file for prisma
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: v1 | |
| kind: ConfigMap | |
| metadata: | |
| name: prisma-configmap | |
| namespace: prisma | |
| labels: | |
| stage: production | |
| name: prisma | |
| app: prisma | |
| data: | |
| PRISMA_CONFIG: | | |
| port: 4466 | |
| databases: | |
| default: | |
| connector: mongo | |
| uri: mongodb://root:rFhW4SVQfZ@mongodb |
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: extensions/v1beta1 | |
| kind: Deployment | |
| metadata: | |
| name: prisma | |
| namespace: prisma | |
| labels: | |
| stage: production | |
| name: prisma | |
| app: prisma | |
| spec: | |
| replicas: 1 | |
| template: | |
| metadata: | |
| labels: | |
| stage: production | |
| name: prisma | |
| app: prisma | |
| spec: | |
| containers: | |
| - name: prisma | |
| image: 'prismagraphql/prisma:1.29' | |
| ports: | |
| - name: prisma-4466 | |
| containerPort: 4466 | |
| env: | |
| - name: PRISMA_CONFIG | |
| valueFrom: | |
| configMapKeyRef: | |
| name: prisma-configmap | |
| key: PRISMA_CONFIG |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment