File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 1
1
BACKEND_URL = https://grafolean.com/api
2
2
BOT_TOKEN =
3
- JOBS_REFRESH_INTERVAL = 60
3
+ JOBS_REFRESH_INTERVAL = 60
Original file line number Diff line number Diff line change @@ -30,11 +30,17 @@ Docker is the easiest and currently the only officially supported way. Note that
30
30
$ wget https://gitlab.com/grafolean/grafolean-collector-ping/raw/master/docker-compose.yml
31
31
```
32
32
33
- 3) edit `docker-compose.yml` and change:
33
+ 3) These settings must be set:
34
+
34
35
- mandatory: `BACKEND_URL` (set to the URL of Grafolean backend, for example `https://grafolean.com/api`),
35
36
- mandatory: `BOT_TOKEN` (set to the bot token from step 1),
36
37
- optional: `JOBS_REFRESH_INTERVAL` (interval in seconds at which the jobs definitions will be updated)
37
- Alternatively, you can also copy `.env.example` to `.env` and change settings there (leaving `docker-compose.yml` in original state).
38
+
39
+ The easiest way to set them is to download example `.env` and edit it:
40
+ ```
41
+ $ wget https://gitlab.com/grafolean/grafolean-collector-ping/raw/master/.env.example -O .env
42
+ $ nano .env
43
+ ```
38
44
39
45
4) run: `docker-compose up -d`
40
46
Original file line number Diff line number Diff line change @@ -10,9 +10,6 @@ services:
10
10
# image: grafolean/grafolean-collector-ping:v1.0.0
11
11
image : grafolean/grafolean-collector-ping
12
12
container_name : grafolean-collector-ping
13
- build :
14
- context : .
15
- dockerfile : Dockerfile
16
13
environment :
17
14
# Backend url must be set to the address of the Grafolean backend, for example this uses Grafolean hosted service:
18
15
# - BACKEND_URL=https://grafolean.com/api
You can’t perform that action at this time.
0 commit comments