skip to Main Content

Why does my docker-compose.yml file dont find my Dockerfile*end file

I am trying to make a docker container run off of my docker-compose file: version: '3' services: memory_Backend: build: context: ./ dockerfile: ./project/docker/DockerfileBackend image: memoryapi_ad_img volumes: - ./:/var/lib ports: - 15555:25555 memory_Frontend: build: context: ./ dockerfile: ./project/docker/DockerfileFrontend image: memorywebsite_ad_img volumes:…

VIEW QUESTION

How to add health-check for kafka in docker-compose

I need to add a health-check for the kafka service in docker-compose. kafka: image: bitnami/kafka:3.6.1 restart: always container_name: kafka ports: - '9092:9092' volumes: - 'kafka_data:/bitnami/kafka' environment: ALLOW_PLAINTEXT_LISTENER: yes KAFKA_ENABLE_KRAFT: yes KAFKA_CFG_PROCESS_ROLES: controller,broker KAFKA_CFG_CONTROLLER_LISTENER_NAMES: CONTROLLER KAFKA_CFG_NODE_ID: 0 KAFKA_CFG_CONTROLLER_QUORUM_VOTERS: 0@kafka:9093 KAFKA_CFG_DELETE_TOPIC_ENABLE: 'true'…

VIEW QUESTION
Back To Top
Search