generated from multiversx/mx-template-service
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modified: apps/api/config/config.devnet.yaml modified: apps/api/src/endpoints/hello-challenge/hello-challenge.controller.ts modified: apps/api/src/main.ts modified: apps/transactions-processor/config/config.devnet.yaml modified: apps/transactions-processor/src/processor/transaction.processor.service.ts new file: docker-compose.dev.yml modified: helm/mx-challenge-app/dashboards/transactions.json new file: helm/mx-challenge-app/dashboards/transactions_v2.json modified: helm/mx-challenge-app/mx-challenge-app-0.1.0.tgz modified: helm/mx-challenge-app/templates/api/deployment.yaml modified: helm/mx-challenge-app/templates/api/service.yaml modified: helm/mx-challenge-app/templates/grafana-dashboards-configmap.yaml modified: helm/mx-challenge-app/values.yaml modified: libs/common/src/config/api.config.service.ts modified: libs/common/src/metrics/api.metrics.service.ts modified: libs/common/src/pubsub/pub.sub.listener.controller.ts modified: libs/common/src/utils/transactions.event.dto.ts new file: monitoring/grafana/dashboards/transactions v2.json modified: package-lock.json modified: package.json
- Loading branch information
mradian1
committed
May 28, 2024
1 parent
fbb6102
commit f5bb7c3
Showing
21 changed files
with
1,373 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
apps/api/src/endpoints/hello-challenge/hello-challenge.controller.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
version: '3.4' | ||
|
||
services: | ||
api: | ||
build: | ||
context: . | ||
dockerfile: ./apps/api/Dockerfile | ||
target: development | ||
command: npm run start:devnet:watch | ||
depends_on: | ||
- mongodb | ||
- database | ||
- redis | ||
volumes: | ||
- .:/usr/src/app | ||
#- /usr/src/app/node_modules | ||
ports: | ||
- '3000:3000' | ||
- '3005:3005' | ||
- '4000:4000' | ||
cache-warmer: | ||
build: | ||
context: . | ||
dockerfile: ./apps/cache-warmer/Dockerfile | ||
target: development | ||
command: npm run start:cache-warmer:devnet:watch | ||
depends_on: | ||
- mongodb | ||
- database | ||
- redis | ||
volumes: | ||
- .:/usr/src/app | ||
#- /usr/src/app/node_modules | ||
ports: | ||
- '5201:5201' | ||
|
||
queue-worker: | ||
build: | ||
context: . | ||
dockerfile: ./apps/queue-worker/Dockerfile | ||
target: development | ||
command: npm run start:queue-worker:devnet:watch | ||
depends_on: | ||
- mongodb | ||
- database | ||
- redis | ||
volumes: | ||
- .:/usr/src/app | ||
#- /usr/src/app/node_modules | ||
ports: | ||
- '8000:8000' | ||
|
||
transactions-processor: | ||
build: | ||
context: . | ||
dockerfile: ./apps/transactions-processor/Dockerfile | ||
target: development | ||
command: npm run start:transactions-processor:devnet:watch | ||
depends_on: | ||
- mongodb | ||
- database | ||
- redis | ||
volumes: | ||
- .:/usr/src/app | ||
#- /usr/src/app/node_modules | ||
ports: | ||
- '5202:5202' | ||
|
||
redis: | ||
image: "redis:alpine" | ||
command: redis-server | ||
ports: | ||
- "6379:6379" | ||
environment: | ||
- REDIS_REPLICATION_MODE=master | ||
|
||
database: | ||
image: "mysql:latest" | ||
ports: | ||
- "3306:3306" | ||
environment: | ||
- MYSQL_ROOT_PASSWORD=root | ||
- MYSQL_DATABASE=example | ||
|
||
mongodb: | ||
image: mongo:latest | ||
environment: | ||
- MONGODB_DATABASE="example" | ||
ports: | ||
- 27017:27017 | ||
|
||
prometheus: | ||
image: prom/prometheus:latest | ||
command: '--config.file=/etc/prometheus/prometheus.yml' | ||
volumes: | ||
- ./monitoring/prometheus:/etc/prometheus | ||
ports: | ||
- 9090:9090 | ||
extra_hosts: | ||
- host.docker.internal:host-gateway | ||
|
||
grafana: | ||
depends_on: | ||
- prometheus | ||
image: grafana/grafana:latest | ||
volumes: | ||
- ./monitoring/grafana:/etc/grafana/provisioning | ||
ports: | ||
- 3010:3000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.