Skip to content

Commit

Permalink
chore: get back to mongo 4.4 on docker-compose
Browse files Browse the repository at this point in the history
on mongo 5 I get this error on M1:

galoy-mongodb-1  |
galoy-mongodb-1  | WARNING: MongoDB 5.0+ requires a CPU with AVX support, and your current system does not appear to have that!
galoy-mongodb-1  |   see https://jira.mongodb.org/browse/SERVER-54407
galoy-mongodb-1  |   see also https://www.mongodb.com/community/forums/t/mongodb-5-0-cpu-intel-g4650-compatibility/116610/2
galoy-mongodb-1  |   see also docker-library/mongo#485 (comment)
galoy-mongodb-1  |

not sure if there are easy ways to solve this. haven't found any quickly
  • Loading branch information
Nicolas Burtey committed Feb 27, 2023
1 parent d7d43ec commit 8b552a6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion .env.ci
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ LNDOUTSIDE1ADDR=lnd-outside-1
LNDOUTSIDE2ADDR=lnd-outside-2
LNDOUTSIDE3ADDR=lnd-outside-3
MONGODB_ADDRESS=mongodb
MONGODB_PASSWORD=${MONGODB_PASSWORD}
REDIS_0_INTERNAL_IP=redis
REDIS_0_PORT=${REDIS_0_PORT}
REDIS_0_DNS=redis
Expand Down
1 change: 0 additions & 1 deletion .envrc
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ export LNDOUTSIDE2RPCPORT=10013
export LNDOUTSIDE3RPCPORT=10014

export MONGODB_ADDRESS=${DOCKER_HOST_IP}:27017
export MONGODB_PASSWORD=password

export REDIS_0_INTERNAL_IP=${DOCKER_HOST_IP}
export REDIS_0_PORT=6379
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ services:
environment:
- MONGODB_ADDRESS=mongodb
mongodb:
image: mongo:5.0.10
image: mongo:4.4
environment:
- MONGO_INITDB_DATABASE=galoy
postgres-price-history:
Expand Down

0 comments on commit 8b552a6

Please sign in to comment.