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

fix: upgraded neo4j image to latest 5.15.0 #1256

Merged
merged 2 commits into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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}"