You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8b7153a
Browse filesBrowse the repository at this point in the historyBrowse files
2. From the project root, start the app and MongoDB with Docker Compose:
44
-
```sh
45
-
docker compose up
46
-
```
47
-
The app service receives `MONGODB_URI` from the Compose file (`mongodb://mongo:27017/able-alliance?replicaSet=rs0`). No extra env file is required for Docker.
48
-
3. To rebuild after changing dependencies, run:
49
-
`docker compose down -v`
50
-
to delete the old containers and volumes and then rebuild with
51
-
` docker compose up --build`
52
-
53
-
Note: If you run Mongo via Docker Compose, avoid starting another MongoDB on `localhost:27017`; Compose will start Mongo inside the stack and expose it.
0 commit comments