mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-12 06:24:10 +01:00
docker: split out demo exporters from docker-compose.yml
This commit is contained in:
2
.env
Normal file
2
.env
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
COMPOSE_PROJECT_NAME=akvorado
|
||||||
|
COMPOSE_FILE=docker-compose.yml:docker-compose-demo.yml
|
||||||
@@ -16,9 +16,8 @@ only requirement is to have
|
|||||||
[Docker](https://docs.docker.com/get-docker/) and [Docker
|
[Docker](https://docs.docker.com/get-docker/) and [Docker
|
||||||
Compose](https://docs.docker.com/compose/install/). Grab the latest
|
Compose](https://docs.docker.com/compose/install/). Grab the latest
|
||||||
tarball from the [release page on
|
tarball from the [release page on
|
||||||
GitHub](https://github.com/akvorado/akvorado/releases), unpack
|
GitHub](https://github.com/akvorado/akvorado/releases), unpack it,
|
||||||
it, rename the target directory to `akvorado`, then run the
|
then run the `docker-compose` command:
|
||||||
`docker-compose` command:
|
|
||||||
|
|
||||||
```console
|
```console
|
||||||
# docker-compose up
|
# docker-compose up
|
||||||
@@ -27,8 +26,8 @@ it, rename the target directory to `akvorado`, then run the
|
|||||||
Once running, *Akvorado* web interface should be running on port 8080.
|
Once running, *Akvorado* web interface should be running on port 8080.
|
||||||
|
|
||||||
A few synthetic flows are generated in the background. They can be
|
A few synthetic flows are generated in the background. They can be
|
||||||
disabled by removing the `akvorado-exporter*` services from
|
disabled by removing the `:docker-compose-demo.yml` string from
|
||||||
`docker-compose.yml`, or by stopping them with `docker-compose stop
|
`.env`, or by stopping them with `docker-compose stop
|
||||||
akvorado-exporter{1,2,3,4}`, or by removing the associated
|
akvorado-exporter{1,2,3,4}`, or by removing the associated
|
||||||
configuration in `akvorado.yaml`.
|
configuration in `akvorado.yaml`.
|
||||||
|
|
||||||
|
|||||||
@@ -11,6 +11,10 @@ identified with a specific icon:
|
|||||||
- 🩹: bug fix
|
- 🩹: bug fix
|
||||||
- 🌱: miscellaneous change
|
- 🌱: miscellaneous change
|
||||||
|
|
||||||
|
## Unreleased
|
||||||
|
|
||||||
|
- 🌱 *docker*: Split demo exporters out of `docker-compose.yml`.
|
||||||
|
|
||||||
## 1.6.0 - 2022-09-30
|
## 1.6.0 - 2022-09-30
|
||||||
|
|
||||||
This release features a BMP collector to grab BGP routes from one or
|
This release features a BMP collector to grab BGP routes from one or
|
||||||
|
|||||||
19
docker-compose-demo.yml
Normal file
19
docker-compose-demo.yml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
---
|
||||||
|
version: "3"
|
||||||
|
|
||||||
|
services:
|
||||||
|
akvorado-exporter0: &exporter
|
||||||
|
image: ghcr.io/akvorado/akvorado:latest
|
||||||
|
restart: unless-stopped
|
||||||
|
command: demo-exporter http://akvorado-orchestrator:8080#0
|
||||||
|
depends_on:
|
||||||
|
- akvorado-inlet
|
||||||
|
akvorado-exporter1:
|
||||||
|
<<: *exporter
|
||||||
|
command: demo-exporter http://akvorado-orchestrator:8080#1
|
||||||
|
akvorado-exporter2:
|
||||||
|
<<: *exporter
|
||||||
|
command: demo-exporter http://akvorado-orchestrator:8080#2
|
||||||
|
akvorado-exporter3:
|
||||||
|
<<: *exporter
|
||||||
|
command: demo-exporter http://akvorado-orchestrator:8080#3
|
||||||
@@ -114,22 +114,6 @@ services:
|
|||||||
disable: true
|
disable: true
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
# Remove the following exporters if you don't want to get demo data.
|
|
||||||
akvorado-exporter0: &exporter
|
|
||||||
<<: *akvorado-image
|
|
||||||
restart: unless-stopped
|
|
||||||
command: demo-exporter http://akvorado-orchestrator:8080#0
|
|
||||||
depends_on:
|
|
||||||
- akvorado-inlet
|
|
||||||
akvorado-exporter1:
|
|
||||||
<<: *exporter
|
|
||||||
command: demo-exporter http://akvorado-orchestrator:8080#1
|
|
||||||
akvorado-exporter2:
|
|
||||||
<<: *exporter
|
|
||||||
command: demo-exporter http://akvorado-orchestrator:8080#2
|
|
||||||
akvorado-exporter3:
|
|
||||||
<<: *exporter
|
|
||||||
command: demo-exporter http://akvorado-orchestrator:8080#3
|
|
||||||
|
|
||||||
clickhouse:
|
clickhouse:
|
||||||
image: clickhouse/clickhouse-server:22.8
|
image: clickhouse/clickhouse-server:22.8
|
||||||
|
|||||||
Reference in New Issue
Block a user