Skip to content

Commit cac8b47

Browse files
committed
docs: host mode
1 parent 4e57b72 commit cac8b47

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

CONTRIBUTING.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ The API uses 3000 port by default. This can be overridden by `PORT` environment
1717
You can run the project by following these steps:
1818

1919
1. Clone this repository.
20-
2. `docker compose -f docker-compose.dev.yml up -d` - Run Redis and MariaDB
21-
3. `npm install && npm run download:files`
22-
4. Run `npm run start:dev`
20+
2. [Enable host networking in Docker Desktop](https://docs.docker.com/engine/network/drivers/host/#docker-desktop) if you haven't already.
21+
3. `docker compose -f docker-compose.dev.yml up -d` - Run Redis and MariaDB
22+
4. `npm install && npm run download:files`
23+
5. Run `npm run start:dev`
2324

2425
Once the API is live, you can spin up a probe instance by running as described at https://github.com/jsdelivr/globalping-probe/blob/master/CONTRIBUTING.md.
2526

0 commit comments

Comments
 (0)