Skip to content

Commit

Permalink
chore: add odd profile and start command
Browse files Browse the repository at this point in the history
  • Loading branch information
adnanrahic committed Nov 8, 2023
1 parent 158cd57 commit 8ab765f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,18 @@ start-minimal:
@echo "Go to http://localhost:8080/grafana/ for the Grafana UI."
@echo "Go to http://localhost:8080/loadgen/ for the Load Generator UI."

.PHONY: start-odd
start-odd: # Observabilty-Driven Development (ODD)
docker compose --profile odd up --force-recreate --remove-orphans --detach
@echo ""
@echo "OpenTelemetry Demo is running."
@echo "Go to http://localhost:8080 for the demo UI."
@echo "Go to http://localhost:8080/jaeger/ui for the Jaeger UI."
@echo "Go to http://localhost:8080/grafana/ for the Grafana UI."
@echo "Go to http://localhost:8080/loadgen/ for the Load Generator UI."
@echo "Go to http://localhost:8080/feature/ for the Feature Flag UI."
@echo "Go to http://localhost:11633/ for the Tracetest Web UI."

.PHONY: stop
stop:
docker compose down --remove-orphans --volumes
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -837,6 +837,7 @@ services:
container_name: tracetest-server
profiles:
- tests
- odd # Observabilty-Driven Development (ODD)

Check warning on line 840 in docker-compose.yml

View workflow job for this annotation

GitHub Actions / yamllint

840:13 [comments] too few spaces before comment
volumes:
- type: bind
source: ./test/tracetesting/tracetest-config.yaml
Expand Down Expand Up @@ -865,6 +866,7 @@ services:
container_name: tracetest-postgres
profiles:
- tests
- odd # Observabilty-Driven Development (ODD)

Check warning on line 869 in docker-compose.yml

View workflow job for this annotation

GitHub Actions / yamllint

869:13 [comments] too few spaces before comment
environment:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
Expand Down

0 comments on commit 8ab765f

Please sign in to comment.