-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
33 lines (26 loc) · 826 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
help:
@echo "Usage: make [target]"
@echo ""
@echo "Targets:"
@echo " up Spin up the Docker Compose environment"
@echo " down Shut down the Docker Compose environment"
@echo " run Run Flink job"
@echo " grafana-ui Open Grafana UI"
@echo " flink-ui Open Flink UI"
up:
docker compose up -d
down:
docker compose down
run:
docker exec jobmanager ./bin/flink run --python ./code/main.py
####################################################################################################################
# Monitoring
grafana-ui:
explorer.exe http://localhost:3000
flink-ui:
explorer.exe http://localhost:8081
# If you are using Linux, you may use this command instead
grafana-ui-linux:
open http://localhost:3000
flink-ui-linux:
open http://localhost:8081