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.
26 lines
674 B
26 lines
674 B
#curl -s http://localhost:9100/metrics | curl --data-binary @- http://pushgateway.example.org:9091/metrics/job/some_job/instance/some_instance
|
|
services:
|
|
pushgateway:
|
|
image: prom/pushgateway:latest
|
|
container_name: p_gw
|
|
restart: unless-stopped
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: "0.1"
|
|
memory: 128M
|
|
pushgateway_nginx:
|
|
build: ./
|
|
container_name: p_gw_nginx
|
|
restart: unless-stopped
|
|
#COMBO | base auth for this instance
|
|
#GATEWAY | first gateway without pass words
|
|
env_file:
|
|
- .env
|
|
ports:
|
|
- 9100:9100
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: "0.1"
|
|
memory: 128M
|