Last active
March 28, 2017 15:14
-
-
Save ignar/9ef2a56878c380ab5384db51cb7634b2 to your computer and use it in GitHub Desktop.
gmail-web-app
This file contains 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: Service | |
metadata: | |
name: gmail-web-app | |
labels: | |
app: gmail-web-app | |
spec: | |
ports: | |
- port: 3000 | |
selector: | |
app: gmail-web-app | |
type: NodePort | |
--- | |
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: gmail-web-app | |
spec: | |
replicas: 3 | |
template: | |
metadata: | |
labels: | |
app: gmail-web-app | |
tier: backend | |
spec: | |
containers: | |
- name: gmail-web-app | |
image: ignar/gmail-web-app:0.13 | |
env: | |
- name: RAILS_ENV | |
value: production | |
- name: RAILS_SERVE_STATIC_FILES | |
value: 'true' | |
ports: | |
- containerPort: 3000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment