mirror of
https://github.com/mii443/prometheus-android-exporter.git
synced 2025-08-22 15:15:35 +00:00
16 lines
442 B
YAML
16 lines
442 B
YAML
# Simple run of prometheus database with a configuration file on localhost
|
|
|
|
version: '3.9'
|
|
|
|
services:
|
|
prometheus:
|
|
container_name: prometheus_remote_receive
|
|
image: bitnami/prometheus:2.43.0
|
|
restart: on-failure
|
|
command: --config.file=/etc/prometheus/prometheus.yml --enable-feature=remote-write-receiver
|
|
volumes:
|
|
- ./prometheus.yaml:/etc/prometheus/prometheus.yml
|
|
ports:
|
|
- 5000:9090
|
|
network_mode: host
|