From c98e1803a375aa08ada3189e2b41301b4446ac08 Mon Sep 17 00:00:00 2001 From: Shaun Hamilton Date: Wed, 3 Apr 2024 02:07:02 +0200 Subject: [PATCH] fix(api): use port 27017 (#54220) --- api/README.md | 7 ------- api/tools/docker-compose.yml | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/api/README.md b/api/README.md index d6948ac8ffc..90f4afed1b9 100644 --- a/api/README.md +++ b/api/README.md @@ -18,13 +18,6 @@ cd tools docker compose up -d ``` -Once that's running, update the connection string in the `.env` file to use port `27018`. - -```txt -# Database -MONGOHQ_URL=mongodb://127.0.0.1:27018/freecodecamp?directConnection=true -``` - The new db will be empty, so you can run the seed script to populate it. ```bash diff --git a/api/tools/docker-compose.yml b/api/tools/docker-compose.yml index 83ac81edc1f..67bc29f855d 100644 --- a/api/tools/docker-compose.yml +++ b/api/tools/docker-compose.yml @@ -6,7 +6,7 @@ services: command: mongod --replSet rs0 restart: unless-stopped ports: - - 27018:27017 + - 27017:27017 volumes: - db-data:/data setup: