Skip to content

Commit

Permalink
Merge pull request #237 from guardian/arm-default
Browse files Browse the repository at this point in the history
Make the arm64 neo4j container the default
  • Loading branch information
philmcmahon authored Oct 1, 2024
2 parents 49f7357 + ad06c65 commit 1e7101a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'
services:
neo4j:
image: ${NEO4J_IMAGE_OVERRIDE:-neo4j:3.4.0}
image: ${NEO4J_IMAGE_OVERRIDE:-neo4j/neo4j-arm64-experimental:3.5.30}
container_name: pfi-neo4j
environment:
NEO4J_AUTH: neo4j/bob
Expand Down
6 changes: 3 additions & 3 deletions scripts/start-backend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ SCRIPTPATH=$( cd $(dirname $0) ; pwd -P )

ARCHITECTURE=$(uname -m)

if [ "$ARCHITECTURE" == "arm64" ]; then
echo "Running on arm64 architecture - using experimental neo4j arm64 image."
export NEO4J_IMAGE_OVERRIDE=neo4j/neo4j-arm64-experimental:3.5.30
if [ "$ARCHITECTURE" != "arm64" ]; then
echo "Running on x86 architecture - using standard neo4j image image."
export NEO4J_IMAGE_OVERRIDE=neo4j:3.4.0
fi

if (! docker stats --no-stream 1>/dev/null 2>&1); then
Expand Down

0 comments on commit 1e7101a

Please sign in to comment.