Skip to content
Snippets Groups Projects
rocketchat-deployment.yaml 1.14 KiB
Newer Older
Ashwin's avatar
Ashwin committed
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  annotations:
    kompose.cmd: kompose --file docker-compose.yml convert
    kompose.version: 1.17.0 (a74acad)
  creationTimestamp: null
  labels:
    io.kompose.service: rocketchat
  name: rocketchat
spec:
  replicas: 1
  strategy:
    type: Recreate
  template:
    metadata:
      creationTimestamp: null
      labels:
        io.kompose.service: rocketchat
    spec:
      containers:
      - env:
        - name: MAIL_URL
          value: smtp://smtp.email
        - name: MONGO_OPLOG_URL
          value: mongodb://mongo:27017/local
        - name: MONGO_URL
          value: mongodb://mongo:27017/rocketchat
        - name: PORT
          value: "3000"
        - name: ROOT_URL
          value: http://localhost:3000
        image: rocketchat/rocket.chat:latest
        name: rocketchat
        ports:
        - containerPort: 3000
        resources: {}
        volumeMounts:
        - mountPath: /app/uploads
          name: rocketchat-claim0
      restartPolicy: Always
      volumes:
      - name: rocketchat-claim0
        persistentVolumeClaim:
          claimName: rocketchat-claim0
status: {}