Commit 63799e6e authored by Jorge Moratinos's avatar Jorge Moratinos
Browse files

At docker compose only one celery create the docker image to avoid race conditions

parent 91220acc
Loading
Loading
Loading
Loading
Loading
+1 −2
Changes for services/docker-compose-capif.yml: 1 added line, 2 removed lines.
Original line number Diff line number Diff line
@@ -229,8 +229,6 @@ services:
  celery_beat:
    image: ${REGISTRY_BASE_URL}/celery:${OCF_VERSION}
    container_name: ${CELERY_BEAT_CONTAINER_NAME:-celery_beat}
    build: 
      context: ${SERVICES_DIR}/celery
    environment:
      - CELERY_MODE=beat
      - REDIS_HOST=redis
@@ -239,6 +237,7 @@ services:
    depends_on:
      - redis
      - mongo
      - celery_worker
  api-invocation-logs:
    container_name: ${API_INVOCATION_LOGS_CONTAINER_NAME:-api-invocation-logs}
    build: