Update docs
This commit is contained in:
30
README.md
30
README.md
@ -15,16 +15,14 @@ docker compose up -d
|
|||||||
|
|
||||||
Wait until docker images are built and containers starts.
|
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:
|
List running containers:
|
||||||
|
|
||||||
```
|
```
|
||||||
docker compose ps
|
docker compose ps
|
||||||
```
|
```
|
||||||
|
|
||||||
Attach to docker compose output:
|
Attach to docker compose output:
|
||||||
|
|
||||||
```
|
```
|
||||||
docker compose logs -f
|
docker compose logs -f
|
||||||
```
|
```
|
||||||
@ -34,6 +32,32 @@ Stop running containers:
|
|||||||
docker compose down
|
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
|
## Media
|
||||||
|
|
||||||
### Life without Docker Compose
|
### Life without Docker Compose
|
||||||
|
|||||||
@ -7,8 +7,6 @@ services:
|
|||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
networks:
|
networks:
|
||||||
- backend-net
|
- backend-net
|
||||||
ports:
|
|
||||||
- 55432:5432
|
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=postgres
|
- POSTGRES_USER=postgres
|
||||||
- POSTGRES_PASSWORD=postgres
|
- POSTGRES_PASSWORD=postgres
|
||||||
|
|||||||
@ -4688,8 +4688,8 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "text",
|
"type": "text",
|
||||||
"version": 575,
|
"version": 578,
|
||||||
"versionNonce": 1278043292,
|
"versionNonce": 808437540,
|
||||||
"isDeleted": false,
|
"isDeleted": false,
|
||||||
"id": "pVWOx2rl6PLW3-R5p-X6F",
|
"id": "pVWOx2rl6PLW3-R5p-X6F",
|
||||||
"fillStyle": "cross-hatch",
|
"fillStyle": "cross-hatch",
|
||||||
@ -4702,23 +4702,23 @@
|
|||||||
"y": -9173.883002779077,
|
"y": -9173.883002779077,
|
||||||
"strokeColor": "#e03131",
|
"strokeColor": "#e03131",
|
||||||
"backgroundColor": "#a5d8ff",
|
"backgroundColor": "#a5d8ff",
|
||||||
"width": 82.03125,
|
"width": 98.4375,
|
||||||
"height": 67.2,
|
"height": 67.2,
|
||||||
"seed": 135005292,
|
"seed": 135005292,
|
||||||
"groupIds": [],
|
"groupIds": [],
|
||||||
"frameId": null,
|
"frameId": null,
|
||||||
"roundness": null,
|
"roundness": null,
|
||||||
"boundElements": [],
|
"boundElements": [],
|
||||||
"updated": 1706255914840,
|
"updated": 1706263652157,
|
||||||
"link": null,
|
"link": null,
|
||||||
"locked": false,
|
"locked": false,
|
||||||
"fontSize": 28,
|
"fontSize": 28,
|
||||||
"fontFamily": 3,
|
"fontFamily": 3,
|
||||||
"text": "db\n:5432",
|
"text": "db\n:55432",
|
||||||
"textAlign": "left",
|
"textAlign": "left",
|
||||||
"verticalAlign": "top",
|
"verticalAlign": "top",
|
||||||
"containerId": null,
|
"containerId": null,
|
||||||
"originalText": "db\n:5432",
|
"originalText": "db\n:55432",
|
||||||
"lineHeight": 1.2,
|
"lineHeight": 1.2,
|
||||||
"baseline": 60
|
"baseline": 60
|
||||||
},
|
},
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 509 KiB After Width: | Height: | Size: 509 KiB |
Reference in New Issue
Block a user