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