guane-intern-fastapi icon indicating copy to clipboard operation
guane-intern-fastapi copied to clipboard

No Celery service on docker-compose.yml

Open moracabanas opened this issue 3 years ago • 2 comments

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
. . .

moracabanas avatar Aug 14 '21 23:08 moracabanas

Did you find a solution?

ingluisandres avatar Aug 16 '21 19:08 ingluisandres

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.

jearistiz avatar Aug 17 '21 15:08 jearistiz