skip to Main Content

Redis – Python Celery trying to occupy a port number in docker-compose and creating problems

docker-compose.yml: python-api: &python-api build: context: /Users/AjayB/Desktop/python-api/ ports: - "8000:8000" networks: - app-tier expose: - "8000" depends_on: - python-model volumes: - .:/python_api/ environment: - PYTHON_API_ENV=development command: > sh -c "ls /python-api/ && python_api_setup.sh development python manage.py migrate && python manage.py runserver…

VIEW QUESTION

Redis – Docker Composer File Configuration

version: "1.0" services: es: image: "elasticsearch:7.6.1" container_name: myelasticsearch ports: - "9200:9200" - "9300:9300" environment: - discovery.type=single-node re: image: redis container_name: myredis ports: - "6379:6379" rab: image: "rabbitmq:3-management" container_name: myrabbitmq ports: - "15672:15672" - "5672:5672" when i run docker-composer up it…

VIEW QUESTION

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