You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#### Option 1: Start the infra components using Docker Compose and run microservices from IDE
87
+
88
+
1.**Start all the required services such as PostgreSQL, RabbitMQ, Keycloak, etc.:**`$ task start_infra`
89
+
90
+
2.**Start individual microservices:**
91
+
You can start individual microservices by running their respective main entrypoint classes from IDE: `ApiGatewayApplication`, `CatalogServiceApplication`, `OrderServiceApplication`, `NotificationServiceApplication`, `BookstoreWebappApplication`
92
+
93
+
3.**Access the application** at http://localhost:8080
94
+
95
+
* Catalog Service PostgreSQL DB: `jdbc:postgresql://localhost:15432/postgres` with credentials `postgres/postgres`
96
+
* Order Service PostgreSQL DB: `jdbc:postgresql://localhost:25433/postgres` with credentials `postgres/postgres`
97
+
* RabbitMQ: `http://localhost:15672` with credentials `guest/guest`
98
+
* Keycloak: `http://localhost:9191` with credentials `admin/admin1234`
99
+
* MailHog: `http://localhost:8025`
100
+
101
+
#### Option 2: Working on individual microservices
102
+
103
+
Each microservice has Testcontainers based configuration to start the required services such as PostgreSQL, RabbitMQ, Keycloak, etc automatically.
104
+
105
+
You can start individual microservices by running their respective Test main entrypoint classes from IDE: `TestCatalogServiceApplication`, `TestOrderServiceApplication`, `TestNotificationServiceApplication`, `ApiGatewayApplication`, `BookstoreWebappApplication`.
106
+
107
+
#### Option 3: Run all the infra components and applications using Docker Compose
108
+
109
+
1.**Start all:**`$ task start`
110
+
111
+
2.**Access the application** at http://localhost:8080
112
+
113
+
114
+
## Run the application with Observability Stack
115
+
116
+
1. Start Grafana, Tempo, Loki, Prometheus using `$ task start_monitoring`
117
+
2. Set `MANAGEMENT_TRACING_ENABLED=true` in `deployment/docker-compose/.env` file
118
+
3. Restart the application using `$ task restart`
119
+
120
+
Now you can access the observability stack using the following URLs:
0 commit comments