Sha256: 07283ea6c02cdf4f30f3e55f675534c693ae067283ac551f4908795161c054d8
Contents?: true
Size: 1.51 KB
Versions: 6
Compression:
Stored size: 1.51 KB
Contents
--- apiVersion: apps/v1beta2 kind: Deployment metadata: name: rails-deployment spec: replicas: 1 minReadySeconds: 5 strategy: type: RollingUpdate rollingUpdate: maxSurge: 1 maxUnavailable: 1 selector: matchLabels: app: rails-kube-backend tier: backend template: metadata: name: rails labels: app: rails-kube-backend tier: backend spec: containers: - name: rails image: tzumby/rails-backend-alpine:latest args: ["rake assets:precompile && rails s -p 3000 -b 0.0.0.0"] env: - name: RAILS_LOG_TO_STDOUT value: "true" - name: RAILS_SERVE_STATIC_FILES value: "true" - name: DATABASE_NAME value: "rails-kube-demo_production" - name: DATABASE_PORT value: "5432" - name: DATABASE_URL value: "postgres" - name: DATABASE_USER valueFrom: secretKeyRef: name: "db-user" key: "username" - name: DATABASE_PASSWORD valueFrom: secretKeyRef: name: "db-user-pass" key: "password" - name: REDIS_URL value: "redis" - name: REDIS_PORT value: "6379" - name: RAILS_ENV value: "production" - name: SECRET_KEY_BASE valueFrom: secretKeyRef: name: "secret-key-base" key: "secret-key-base" ports: - containerPort: 3000
Version data entries
6 entries across 6 versions & 1 rubygems