tranny / okteto-stack.yaml
Mbonea's picture
hello
252d749
raw
history blame
357 Bytes
version: 1
services:
app:
build: .
command: uvicorn App.app:app --host 0.0.0.0 --port 8000
environment:
- DATABASE_URL=postgresql://user:password@db:5432/mydatabase
ports:
- 8000:8000
worker:
build: .
command: celery -A App.Worker.celery worker -c 1 --loglevel=info
resources:
memory: 3Gi
cpu: 1000m