You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
1.2 KiB
63 lines
1.2 KiB
version: '3.5' |
|
|
|
services: |
|
|
|
generator: |
|
# image: registry.labbs.com.br/barimetrics/metrics-generator-tabajara |
|
# build: . |
|
image: labbsr0x/metrics-generator-tabajara |
|
environment: |
|
- COMPONENT_NAME=testserver |
|
- COMPONENT_VERSION=1.0.0 |
|
- ACCIDENT_RESOURCE=transaction-080 |
|
- ACCIDENT_TYPE=latency |
|
- ACCIDENT_RATIO=100 |
|
ports: |
|
- 3000:3000 |
|
|
|
grafana: |
|
# image: flaviostutz/grafana |
|
build: . |
|
ports: |
|
- 4000:3000 |
|
volumes: |
|
- grafana:/data |
|
|
|
prometheus: |
|
image: flaviostutz/prometheus |
|
# ports: |
|
# - 9090:9090 |
|
environment: |
|
- STATIC_SCRAPE_TARGETS=generator@generator:3000 |
|
volumes: |
|
- prometheus:/prometheus |
|
|
|
# promfrom: |
|
# image: prom/prometheus:latest |
|
# ports: |
|
# - 9090:9090 |
|
# volumes: |
|
# - ./prometheus1.yml:/etc/prometheus/prometheus.yml |
|
# - promfrom:/prometheus |
|
|
|
finalprom: |
|
image: prom/prometheus:latest |
|
ports: |
|
- 9090:9090 |
|
volumes: |
|
- ./rules.yml:/etc/prometheus/rules.yml |
|
- ./prometheus2.yml:/etc/prometheus/prometheus.yml |
|
- finalprom:/prometheus |
|
|
|
networks: |
|
default: |
|
ipam: |
|
driver: default |
|
config: |
|
- subnet: 192.168.15.0/24 |
|
|
|
volumes: |
|
grafana: |
|
promfrom: |
|
prometheus: |
|
finalprom: |