diff --git a/.gitignore b/.gitignore index c2065bc..4500a0d 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,5 @@ out/ ### VS Code ### .vscode/ + +appdata/ diff --git a/config/prometheus.yml b/config/prometheus.yml new file mode 100644 index 0000000..e69de29 diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..fb89711 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,25 @@ +version: '3.9' + +services: + prometheus: + image: prom/prometheus + ports: + - "9090:9090" + volumes: + - "./config/prometheus.yml:/etc/prometheus/prometheus.yml" + networks: + metrics: + aliases: [ 'prometheus' ] + grafana: + image: grafana/grafana + ports: + - "3000:3000" + environment: + GF_SECURITY_ADMIN_USER: admin + GF_SECURITY_ADMIN_PASSWORD: admin + networks: + metrics: + aliases: [ 'grafana' ] + +networks: + metrics: