jearistiz / guane-intern-fastapi

FastAPI-PostgreSQL-Celery-RabbitMQ-Redis bakcend with Docker containerization
MIT License
70 stars 9 forks source link

No Celery service on docker-compose.yml #43

Open moracabanas opened 3 years ago

moracabanas commented 3 years ago

Steps

git clone https://github.com/jearistiz/guane-intern-fastapi
cd guane-intern-fastapi
docker-compose up --build

Expected behaviour

Docker compose starts building all service images from docker-compose.yml

Actual behaviour

$ docker-compose up -d
ERROR: Service 'backend_app' depends on service 'celery' which is undefined.

So there is something I am missing or there is no celery service in docker-compose.yml which is required on backend-app service to work. See depends-on:

version: "3.5"
services:
  backend_app:
    build:
      context: .
      dockerfile: Dockerfile
    container_name: backend_app
    stop_signal: SIGINT
    env_file: .env
    image: app/backend
    depends_on: 
      - postgres
      - celery
. . .
ingluisandres commented 3 years ago

Did you find a solution?

jearistiz commented 3 years ago

Hello guys, I haven't had the time to check this out. Last time I deployed the project was working fine. I will try to reporduce and fix the bug next weekend, but if you find a solution earlier feel free to submit a PR.