This repository was archived by the owner on Jul 17, 2024. It is now read-only.
Commit 8122a9f 1 parent e95232e commit 8122a9f Copy full SHA for 8122a9f
File tree 3 files changed +54
-1
lines changed
3 files changed +54
-1
lines changed Original file line number Diff line number Diff line change @@ -13,3 +13,19 @@ DOMAIN=localhost
13
13
14
14
GF_SECURITY_ADMIN_USER = ADMIN
15
15
GF_SECURITY_ADMIN_PASSWORD = PASSWORD
16
+
17
+ ALLOY_CONFIG_FILE = config.alloy
18
+ ALLOY_CONFIG_PATH = /etc/alloy
19
+ ALLOY_CONFIG_PATH_LOCAL = ./infra/alloy/config
20
+
21
+ AGENT_KEY_APP_RECEIVER = api_key
22
+ AGENT_HOST = alloy
23
+ AGENT_LOGS_PATH = /var/log
24
+ AGENT_PORT = 12345
25
+ AGENT_PORT_APP_RECEIVER = 8027
26
+ AGENT_TEMP_PATH = /tmp/agent
27
+ AGENT_WAL_PATH = wal
28
+
29
+
30
+ DEMO_CLIENT_PACKAGE_NAME = " app"
31
+ DEMO_PACKAGE_NAME = " app"
Original file line number Diff line number Diff line change 52
52
ssh_private_key : ${{ secrets.SSH_PRIV_KEY }}
53
53
ssh_public_key : ${{ secrets.SSH_PUB_KEY }}
54
54
stack_file_name : ${{ env.COMPOSE_FILE_NAME }}
55
- args : -p ${{ env.PROJECT }} --env-file .env up -d --remove-orphans --build frontend backend
55
+ args : -p ${{ env.PROJECT }} --env-file .env up -d --remove-orphans --build
Original file line number Diff line number Diff line change @@ -32,3 +32,40 @@ services:
32
32
ports :
33
33
- " 5004:5004"
34
34
35
+ grafana :
36
+ image : grafana/grafana:latest
37
+ ports :
38
+ - " 3000:3000"
39
+ environment :
40
+ - GF_AUTH_ANONYMOUS_ENABLED=true
41
+ - GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
42
+ volumes :
43
+ - ./infra/grafana/provisioning:/etc/grafana/provisioning
44
+ - grafana-storage:/var/lib/grafana
45
+
46
+ loki :
47
+ image : grafana/loki:latest
48
+ ports :
49
+ - " 3100:3100"
50
+ command : -config.file=/etc/loki/local-config.yaml
51
+ volumes :
52
+ - ./infra/loki/loki-config.yaml:/etc/loki/local-config.yaml
53
+ - loki-data:/loki # Mount a volume for the WAL directory
54
+
55
+ grafana-alloy :
56
+ env_file :
57
+ - ' ./.env.example'
58
+ image : grafana/alloy:latest
59
+ volumes :
60
+ - ./infra/alloy/config.alloy:/etc/alloy/config.alloy
61
+ entrypoint :
62
+ - ' /bin/alloy'
63
+ - ' run'
64
+ - ' --server.http.listen-addr=0.0.0.0:12345'
65
+ - ' --config.extra-args="-config.expand-env"'
66
+ - ' ${ALLOY_CONFIG_PATH}/${ALLOY_CONFIG_FILE}'
67
+ environment :
68
+ AGENT_PORT_APP_RECEIVER : 8027
69
+ ALLOY_CONFIG_FILE : config.alloy
70
+ ALLOY_CONFIG_PATH : /etc/alloy
71
+ ALLOY_CONFIG_PATH_LOCAL : ./infra/alloy/config
You can’t perform that action at this time.
0 commit comments