skip to Main Content

Redis – Docker compose for MongoDB ReplicaSet

I have been trying to dockerize my spring boot application which depends on redis, kafka and mongodb. Following is the docker-compose.yml: version: '3.3' services: my-service: image: my-service build: context: ../../ dockerfile: Dockerfile restart: always container_name: my-service environment: KAFKA_CONFLUENT_BOOTSTRAP_SERVERS: kafka:9092 MONGO_HOSTS:…

VIEW QUESTION
Back To Top
Search