diff options
Diffstat (limited to 'contrib/docker-compose.yaml')
-rw-r--r-- | contrib/docker-compose.yaml | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/contrib/docker-compose.yaml b/contrib/docker-compose.yaml index 3ca7981..8aeaff8 100644 --- a/contrib/docker-compose.yaml +++ b/contrib/docker-compose.yaml | |||
@@ -10,7 +10,7 @@ services: | |||
10 | - "8080:8080" | 10 | - "8080:8080" |
11 | 11 | ||
12 | krakend: | 12 | krakend: |
13 | image: "devopsfaith/krakend:latest" | 13 | image: "devopsfaith/krakend:2.2" |
14 | restart: always | 14 | restart: always |
15 | ports: | 15 | ports: |
16 | - "8081:8080" | 16 | - "8081:8080" |
@@ -18,5 +18,30 @@ services: | |||
18 | volumes: | 18 | volumes: |
19 | - "./krakend.json:/etc/krakend/krakend.json" | 19 | - "./krakend.json:/etc/krakend/krakend.json" |
20 | 20 | ||
21 | influx: | ||
22 | image: influxdb:2.6.1 | ||
23 | environment: | ||
24 | - "DOCKER_INFLUXDB_INIT_MODE=setup" | ||
25 | - "DOCKER_INFLUXDB_INIT_USERNAME=krakend" | ||
26 | - "DOCKER_INFLUXDB_INIT_PASSWORD=password" | ||
27 | - "DOCKER_INFLUXDB_INIT_ORG=my-org" | ||
28 | - "DOCKER_INFLUXDB_INIT_BUCKET=krakend" | ||
29 | - "DOCKER_INFLUXDB_INIT_RETENTION=1w" | ||
30 | - "DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=my-super-secret-auth-token" | ||
31 | ports: | ||
32 | - "8086:8086" | ||
33 | volumes: | ||
34 | - "./influx/initdb.sh:/docker-entrypoint-initdb.d/initdb.sh" | ||
35 | |||
36 | grafana: | ||
37 | image: "grafana/grafana:9.3.6" | ||
38 | restart: always | ||
39 | ports: | ||
40 | - "3000:3000" | ||
41 | volumes: | ||
42 | - grafana:/var/lib/grafana | ||
43 | |||
21 | volumes: | 44 | volumes: |
22 | sqlite3: | 45 | sqlite3: |
46 | grafana: | ||
47 | influxdb: | ||