-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
54 lines (37 loc) · 2 KB
/
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Makefile for copying a folder from src to dest
# Set the source and destination directories
SRC_DIR = config
DEST_DIR = opentelemetry-demo
# Define the copy command
CP = cp -r -f
# Define the default target
all: fast-run
# Define the copy_folder target
copy_config:
$(CP) $(SRC_DIR)/* $(DEST_DIR)/
fast-run: copy_config
docker compose -f opentelemetry-demo/docker-compose.yml up --force-recreate --no-build --remove-orphans
run: copy_config
docker compose -f opentelemetry-demo/docker-compose.yml up --no-build --remove-orphans
apps: copy_config
docker compose -f opentelemetry-demo/docker-compose.yml up --force-recreate --no-build --no-deps frontendproxy frontend redis-cart cartservice ffs_postgres featureflagservice loadgenerator
obs: copy_config
docker compose -f opentelemetry-demo/docker-compose.yml up --force-recreate --no-build --no-deps frontend frontendproxy otelcol jaeger prometheus grafana
cart: copy_config
docker compose -f opentelemetry-demo/docker-compose.yml up --force-recreate --no-build --no-deps redis-cart cartservice
ad: copy_config
docker compose -f opentelemetry-demo/docker-compose.yml up --force-recreate --no-build --no-deps adservice
checkout: copy_config
docker compose -f opentelemetry-demo/docker-compose.yml up --force-recreate --no-build --no-deps kafka checkoutservice
grafana: copy_config
docker compose -f opentelemetry-demo/docker-compose.yml up --force-recreate --no-build --no-deps grafana
otelcol: copy_config
docker compose -f opentelemetry-demo/docker-compose.yml up --force-recreate otelcol
prometheus: copy_config
docker compose -f opentelemetry-demo/docker-compose.yml up --force-recreate prometheus
neo4j: copy_config
docker compose -f opentelemetry-demo/docker-compose.yml up --force-recreate neo4j
storyteller: copy_config
docker compose -f opentelemetry-demo/docker-compose.yml up --force-recreate storyteller
frontendproxy: copy_config
docker compose -f opentelemetry-demo/docker-compose.yml up --force-recreate --no-build --no-deps frontendproxy