commit
f849ef39a0
|
|
@ -185,7 +185,7 @@ MONGODB_URI=mongodb://root:example@mongodb:27017/openstock?authSource=admin
|
|||
4) Start the stack:
|
||||
```bash
|
||||
# from the repository root
|
||||
docker compose up -d --build
|
||||
docker compose up -d mongodb && docker compose up -d --build
|
||||
```
|
||||
|
||||
5) Access the app:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,9 @@
|
|||
services:
|
||||
openstock:
|
||||
build: .
|
||||
build:
|
||||
context: .
|
||||
extra_hosts:
|
||||
- "mongodb:host-gateway"
|
||||
ports:
|
||||
- "3000:3000"
|
||||
env_file:
|
||||
|
|
|
|||
Loading…
Reference in New Issue