2023-04-10 06:40:33 +00:00
|
|
|
services:
|
|
|
|
prometheus:
|
|
|
|
image: ${PROMETHEUS_IMAGE}:${PROMETHEUS_VERSION}
|
|
|
|
domainname: ${LOCAL_DOMAIN}
|
|
|
|
hostname: prometheus
|
|
|
|
container_name: prometheus
|
|
|
|
restart: on-failure
|
|
|
|
networks:
|
|
|
|
prometheus_int:
|
|
|
|
internet:
|
|
|
|
ipv4_address: ${IPV4_PREFIX}.121
|
|
|
|
volumes:
|
|
|
|
- ./../../vendor/hosts:/etc/hosts
|
|
|
|
- ./prometheus.yml:/etc/prometheus/prometheus.yml
|
|
|
|
command:
|
|
|
|
- --config.file=/etc/prometheus/prometheus.yml
|
|
|
|
stop_signal: SIGKILL
|
|
|
|
env_file: [ ".env", ".prometheus.env", ".int_test.env" ]
|
|
|
|
|
|
|
|
networks:
|
|
|
|
prometheus_int:
|
|
|
|
internet:
|
|
|
|
external: true
|
2023-08-29 11:06:09 +00:00
|
|
|
name: basenet_internet
|