Move prometheus from synapse to here
This commit is contained in:
parent
de0dfd63c6
commit
15fb0079c1
@ -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"
|
||||
|
Reference in New Issue
Block a user