Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
fix: docker-compose rebased
Browse files Browse the repository at this point in the history
  • Loading branch information
zubairshakoorarbisoft committed Sep 6, 2023
1 parent bba2e59 commit d2818d7
Showing 1 changed file with 1 addition and 37 deletions.
38 changes: 1 addition & 37 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,42 +50,6 @@ services:
environment:
NEO4J_AUTH: "neo4j/edx" # Initial username/password for Neo4j Web interface.

elasticsearch:
container_name: "edx.${COMPOSE_PROJECT_NAME:-devstack}.elasticsearch"
hostname: elasticsearch.devstack.edx
image: edxops/elasticsearch:devstack
networks:
default:
aliases:
- edx.devstack.elasticsearch
# TODO: What to do about these forwarded ports? They'll conflict with ports forwarded by the Vagrant VM.
# ports:
# - "9200:9200"
# - "9300:9300"
volumes:
- elasticsearch_data:/usr/share/elasticsearch/data
- elasticsearch_data:/usr/share/elasticsearch/logs

# This is meant to be used to test ES upgrades so that we do not have to upgrade all of our services to ES5 at once.
elasticsearch7:
container_name: "edx.${COMPOSE_PROJECT_NAME:-devstack}.elasticsearch7"
hostname: elasticsearch7.devstack.edx
image: elasticsearch:7.8.1
networks:
default:
aliases:
- edx.devstack.elasticsearch7
ports:
- "9200:9200"
- "9300:9300"
volumes:
- elasticsearch7_data:/usr/share/elasticsearch/data
environment:
- discovery.type=single-node
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"

# This is meant to be used to test ES upgrades.
elasticsearch710:
container_name: "edx.${COMPOSE_PROJECT_NAME:-devstack}.elasticsearch710"
hostname: elasticsearch710.devstack.edx
Expand Down Expand Up @@ -870,4 +834,4 @@ volumes:
opensearch12_data:
mysql57_data:
mysql80_data:
redis_data:
redis_data:

0 comments on commit d2818d7

Please sign in to comment.