--- 
apiVersion: v1
kind: Pod
metadata: 
  labels: 
    name: open-ocr-httpd
  name: open-ocr-httpd
spec: 
  containers: 
    -
      env:
        - name: RABBITMQ_PASSWORD
          valueFrom:
            secretKeyRef:
              name: rabbit-mq-password
              key: password
      command: 
        - /usr/bin/open-ocr-httpd
        - -amqp_uri=amqp://admin:$(RABBITMQ_PASSWORD)@rabbitmq-service/
        - -http_port=8080
      image: lex/open-ocr
      name: open-ocr-httpd
      ports: 
        - 
          containerPort: 8080
          name: httpport


