1
0
mirror of https://github.com/Lusitaniae/apache_exporter.git synced 2025-04-18 15:04:01 +03:00

Create compose.yml

This commit is contained in:
dimaguy 2022-05-16 15:30:12 +00:00 committed by GitHub
parent 97ee417a0f
commit 3dd0a70b4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

15
compose.yml Normal file
View File

@ -0,0 +1,15 @@
name: apache_exporter
services:
apache_exporter:
image: lusotycoon/apache-exporter
container_name: apache_exporter
privileged: true
ports:
- mode: ingress
target: 9117
published: "9117"
protocol: tcp
restart: unless-stopped
extra_hosts:
- "localhost:127.17.0.1"
entrypoint: /bin/apache_exporter --scrape_uri="http://172.17.0.1/server-status?auto"