#curl -s http://localhost:9100/metrics | curl --data-binary @- http://pushgateway.example.org:9091/metrics/job/some_job/instance/some_instance services: pushgateway: image: docker.pblr-nyk.pro/prom/pushgateway:latest container_name: p_gw restart: unless-stopped deploy: resources: limits: cpus: "0.1" memory: 128M pushgateway_nginx: image: docker.pblr-nyk.pro/nginx:1.27.4-alpine container_name: p_gw_nginx restart: unless-stopped volumes: - $PWD/srv.conf:/etc/nginx/conf.d/srv.conf:ro - $PWD/.htpasswd:/etc/nginx/.htpasswd:ro ports: - 9091:9091 deploy: resources: limits: cpus: "0.1" memory: 128M