mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-10 17:59:38 +08:00
docs: update documentation
This commit is contained in:
parent
4b4eca5a8f
commit
c7a92d7391
@ -13,6 +13,7 @@
|
||||
- [Husky](#husky)
|
||||
- [Upgrade Nuget Packages](#upgrade-nuget-packages)
|
||||
- [How to Run](#how-to-run)
|
||||
- [Docker Compose](#docker-compose)
|
||||
- [Build](#build)
|
||||
- [Run](#run)
|
||||
- [Test](#test)
|
||||
@ -75,6 +76,14 @@ dotnet outdated -u
|
||||
|
||||
## How to Run
|
||||
|
||||
> ### Docker Compose
|
||||
|
||||
To run this app in `Docker`, use the [docker-compose.yaml](./deployments/docker-compose/docker-compose.yaml) and execute the below command at the `root` of the application:
|
||||
|
||||
```bash
|
||||
docker-compose -f ./deployments/docker-compose/docker-compose.yaml up -d
|
||||
```
|
||||
|
||||
> ### Build
|
||||
To `build` monolith app, run this command in the `root` of the project:
|
||||
```bash
|
||||
|
||||
@ -13,6 +13,7 @@
|
||||
- [Husky](#husky)
|
||||
- [Upgrade Nuget Packages](#upgrade-nuget-packages)
|
||||
- [How to Run](#how-to-run)
|
||||
- [Docker Compose](#docker-compose)
|
||||
- [Build](#build)
|
||||
- [Run](#run)
|
||||
- [Test](#test)
|
||||
@ -76,6 +77,14 @@ dotnet outdated -u
|
||||
|
||||
## How to Run
|
||||
|
||||
> ### Docker Compose
|
||||
|
||||
To run this app in `Docker`, use the [docker-compose.yaml](./deployments/docker-compose/docker-compose.yaml) and execute the below command at the `root` of the application:
|
||||
|
||||
```bash
|
||||
docker-compose -f ./deployments/docker-compose/docker-compose.yaml up -d
|
||||
```
|
||||
|
||||
> ### Build
|
||||
To `build` all modules, run this command in the `root` of the project:
|
||||
```bash
|
||||
|
||||
@ -19,7 +19,7 @@ services:
|
||||
ports:
|
||||
- "2113:2113"
|
||||
networks:
|
||||
- booking_modular_monolith
|
||||
- booking
|
||||
|
||||
#######################################################
|
||||
# postgres
|
||||
@ -42,7 +42,7 @@ services:
|
||||
volumes:
|
||||
- postgres-data:/var/lib/postgresql/data
|
||||
networks:
|
||||
- booking_modular_monolith
|
||||
- booking
|
||||
|
||||
#######################################################
|
||||
# Mongo
|
||||
@ -57,7 +57,7 @@ services:
|
||||
ports:
|
||||
- 27017:27017
|
||||
networks:
|
||||
- booking_modular_monolith
|
||||
- booking
|
||||
|
||||
#######################################################
|
||||
# jaeger
|
||||
@ -76,7 +76,7 @@ services:
|
||||
- "14318:4318" # OTLP http receiver for jaeger
|
||||
# - "9411" # Accepts Zipkin spans - /api/v2/spans
|
||||
networks:
|
||||
- booking_modular_monolith
|
||||
- booking
|
||||
|
||||
#######################################################
|
||||
# zipkin
|
||||
@ -89,7 +89,7 @@ services:
|
||||
ports:
|
||||
- "9411:9411"
|
||||
networks:
|
||||
- booking_modular_monolith
|
||||
- booking
|
||||
|
||||
#######################################################
|
||||
# prometheus
|
||||
@ -114,7 +114,7 @@ services:
|
||||
- "--web.enable-remote-write-receiver"
|
||||
# - "--log.level=debug"
|
||||
networks:
|
||||
- booking_modular_monolith
|
||||
- booking
|
||||
|
||||
#######################################################
|
||||
# otel-collector
|
||||
@ -140,7 +140,7 @@ services:
|
||||
- "4318:4318" # OTLP http receiver
|
||||
- "55679:55679" # zpages extension
|
||||
networks:
|
||||
- booking_modular_monolith
|
||||
- booking
|
||||
|
||||
#######################################################
|
||||
# rabbitmq
|
||||
@ -155,7 +155,7 @@ services:
|
||||
# volumes:
|
||||
# - rabbitmq:/var/lib/rabbitmq
|
||||
networks:
|
||||
- booking_modular_monolith
|
||||
- booking
|
||||
|
||||
#######################################################
|
||||
# Redis
|
||||
@ -167,7 +167,7 @@ services:
|
||||
ports:
|
||||
- 6379:6379
|
||||
networks:
|
||||
- booking_modular_monolith
|
||||
- booking
|
||||
|
||||
#######################################################
|
||||
# node-exporter
|
||||
@ -189,7 +189,7 @@ services:
|
||||
ports:
|
||||
- "9101:9100"
|
||||
networks:
|
||||
- booking_modular_monolith
|
||||
- booking
|
||||
|
||||
#######################################################
|
||||
# grafana
|
||||
@ -218,7 +218,7 @@ services:
|
||||
- ./../configs/grafana/provisioning:/etc/grafana/provisioning
|
||||
- ./../configs/grafana/dashboards:/var/lib/grafana/dashboards
|
||||
networks:
|
||||
- booking_modular_monolith
|
||||
- booking
|
||||
|
||||
#######################################################
|
||||
# tempo
|
||||
@ -239,7 +239,7 @@ services:
|
||||
- "24317:4317" # otlp grpc
|
||||
- "24318:4318" # otlp http
|
||||
networks:
|
||||
- booking_modular_monolith
|
||||
- booking
|
||||
|
||||
#######################################################
|
||||
# loki
|
||||
@ -257,7 +257,7 @@ services:
|
||||
volumes:
|
||||
- ./../configs/loki-config.yaml:/etc/loki/local-config.yaml
|
||||
networks:
|
||||
- booking_modular_monolith
|
||||
- booking
|
||||
|
||||
#######################################################
|
||||
# elasticsearch
|
||||
@ -290,7 +290,7 @@ services:
|
||||
- ${ELASTIC_HOST_PORT:-9200}:${ELASTIC_PORT:-9200}
|
||||
- 9300:9300
|
||||
networks:
|
||||
- booking_modular_monolith
|
||||
- booking
|
||||
|
||||
#######################################################
|
||||
# kibana
|
||||
@ -307,7 +307,7 @@ services:
|
||||
depends_on:
|
||||
- elasticsearch
|
||||
networks:
|
||||
- booking_modular_monolith
|
||||
- booking
|
||||
|
||||
#######################################################
|
||||
# cadvisor
|
||||
@ -327,7 +327,7 @@ services:
|
||||
devices:
|
||||
- /dev/kmsg
|
||||
networks:
|
||||
- booking_modular_monolith
|
||||
- booking
|
||||
|
||||
#######################################################
|
||||
# booking-modular-monolith
|
||||
@ -353,11 +353,11 @@ services:
|
||||
- ASPNETCORE_Kestrel__Certificates__Default__Password=password
|
||||
- ASPNETCORE_Kestrel__Certificates__Default__Path=/https/aspnetapp.pfx
|
||||
networks:
|
||||
- booking_modular_monolith
|
||||
- booking
|
||||
|
||||
networks:
|
||||
booking_modular_monolith:
|
||||
name: booking_modular_monolith
|
||||
booking:
|
||||
name: booking
|
||||
driver: bridge
|
||||
|
||||
volumes:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user