Update docs

This commit is contained in:
Eden Kirin
2024-01-26 11:27:24 +01:00
parent 9fbca2677b
commit e97cbc6ad2
4 changed files with 33 additions and 11 deletions

View File

@ -15,16 +15,14 @@ docker compose up -d
Wait until docker images are built and containers starts.
Browse to [Local frontend application](http://localhost:8080)
Browse to [Local frontend application on port 8080](http://localhost:8080)
List running containers:
```
docker compose ps
```
Attach to docker compose output:
```
docker compose logs -f
```
@ -34,6 +32,32 @@ Stop running containers:
docker compose down
```
### Run on host network
Start docker compose:
```
docker compose -f docker-compose-local.yml up -d
```
Containers will listen to following local ports:
| Service | Port |
| ------------- | ----- |
| FE / nginx | 80 |
| Envoy proxy | 10000 |
| Machines app | 4000 |
| Products app | 4001 |
| Database | 55432 |
Browse to [Local frontend application on port 80](http://localhost:80)
Stop running containers:
```
docker compose -f docker-compose-local.yml down
```
## Media
### Life without Docker Compose