quivr/backend/Porter.yaml

57 lines
1.1 KiB
YAML

version: v2
name: quivr-back
services:
- name: flower
run: celery -A celery_worker flower -l info --port=5555
type: web
instances: 1
cpuCores: 0.1
ramMegabytes: 200
terminationGracePeriodSeconds: 30
port: 5555
domains:
- name: demo-flower.quivr.app
sleep: false
- name: quivr-backend
run: uvicorn main:app --reload --host 0.0.0.0 --port 5050 --workers 6 --log-level
info
type: web
instances: 2
cpuCores: 1
ramMegabytes: 2700
terminationGracePeriodSeconds: 30
port: 5050
domains:
- name: demo-api.quivr.app
healthCheck:
enabled: true
httpPath: /healthz
timeoutSeconds: 20
initialDelaySeconds: 60
sleep: false
- name: quivr-beat
run: celery -A celery_worker beat -l info
type: worker
instances: 1
cpuCores: 0.1
ramMegabytes: 200
terminationGracePeriodSeconds: 30
sleep: false
- name: quivr-worker
run: celery -A celery_worker worker -l info
type: worker
instances: 1
cpuCores: 1
ramMegabytes: 2030
terminationGracePeriodSeconds: 30
sleep: false
build:
context: ./backend/
method: docker
dockerfile: ./backend/Dockerfile
envGroups:
- preview
autoRollback:
enabled: false