# The manifest for the "kafka-zookeeper" service. # Read the full specification for the "Backend Service" type at: # https://aws.github.io/copilot-cli/docs/manifest/backend-service/ # Your service name will be used in naming your resources like log groups, ECS services, etc. name: kafka-zookeeper type: Backend Service # Allow service-to-service communication with ECS Service Connect network: connect: true # Configuration for your containers and service. image: location: docker.io/bitnami/zookeeper:3.8 port: 2181 cpu: 256 # Number of CPU units for the task. memory: 512 # Amount of memory in MiB used by the task. count: 1 # Number of tasks that should be running in your service. exec: true # Enable getting a shell to your container (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-exec.html). # Pass environment variables as key value pairs. variables: ALLOW_ANONYMOUS_LOGIN: yes environments: dev: count: 1 # Number of tasks to run for the "dev" environment. deployment: # The deployment strategy for the "dev" environment. rolling: 'recreate' # Stops existing tasks before new ones are started for faster deployments.