Move prometheus from synapse to here

This commit is contained in:
BBaoVanC 2021-08-02 02:45:56 -05:00
parent de0dfd63c6
commit 15fb0079c1
1 changed files with 10 additions and 16 deletions

View File

@ -34,19 +34,13 @@ services:
- 127.0.0.1:84:3000
restart: always
#prometheus:
# image: prom/prometheus:latest
# restart: always
# command:
# - --config.file=/etc/prometheus/prometheus.yml
# volumes:
# - ./prometheus.yml:/etc/prometheus/prometheus.yml
# - ./prometheus:/prometheus
# networks:
# - default
# - synapse
#networks:
# synapse:
# external: true
# name: synapse_default
prometheus:
image: prom/prometheus:latest
restart: always
command:
- --config.file=/etc/prometheus/prometheus.yml
volumes:
- ./data/prometheus.yml:/etc/prometheus/prometheus.yml
- ./data/prometheus:/prometheus
extra_hosts:
- "host.docker.internal:host-gateway"