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

Commit

Permalink
fix: upgraded neo4j image to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
Zubair Shakoor authored and Zubair Shakoor committed Jan 15, 2024
1 parent cde53a1 commit 199a0e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ services:
hostname: coursegraph.devstack.edx
# Try to keep this in sync with the NEO4J_VERSION declared within
# https://github.com/openedx/configuration/blob/master/playbooks/roles/neo4j
image: neo4j:3.5.28
image: neo4j:5.15.0
networks:
default:
aliases:
Expand All @@ -48,7 +48,7 @@ services:
stdin_open: true
tty: true
environment:
NEO4J_AUTH: "neo4j/edx" # Initial username/password for Neo4j Web interface.
NEO4J_AUTH: "neo4j/edxedxedx" # Initial username/password for Neo4j Web interface.

elasticsearch710:
container_name: "edx.${COMPOSE_PROJECT_NAME:-devstack}.elasticsearch710"
Expand Down
2 changes: 1 addition & 1 deletion provision-coursegraph.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ docker compose up -d coursegraph cms
sleep 10 # Give Neo4j some time to boot up.

echo -e "${GREEN} Updating CMS courses in Coursegraph...${NC}"
docker compose exec cms bash -c 'source /edx/app/edxapp/edxapp_env && cd /edx/app/edxapp/edx-platform/ && ./manage.py cms dump_to_neo4j --host coursegraph.devstack.edx --user neo4j --password edx'
docker compose exec cms bash -c 'source /edx/app/edxapp/edxapp_env && cd /edx/app/edxapp/edx-platform/ && ./manage.py cms dump_to_neo4j --host coursegraph.devstack.edx --user neo4j --password edxedxedx'

echo -e "${GREEN} Coursegraph is now up-to-date with CMS!${NC}"

0 comments on commit 199a0e3

Please sign in to comment.