## Copyright (c) 2021 Oracle and/or its affiliates.
## Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/
apiVersion: apps/v1
kind: Deployment
metadata:
  name: foodwinepairing-python
spec:
  replicas: 1
  selector:
    matchLabels:
      app: foodwinepairing
  template:
    metadata:
      labels:
        app: foodwinepairing
        version: python
    spec:
      containers:
      - name: foodwinepairing
        image: ${DOCKER_REGISTRY}/foodwinepairing-python:0.1
        imagePullPolicy: Always
        ports:
          - containerPort: 8080
        env:
          - name: WORKERS
            value: "1"
          - name: HTTP_THREADS
            value: "16"
          - name: PORT
            value: "8080"
          - name: DEBUG_MODE
            value: "1"
      restartPolicy: Always
      
