mirror of
https://github.com/yldio/copilot.git
synced 2024-11-14 07:10:05 +02:00
Add prometheus to infra
This commit is contained in:
parent
237e1c6024
commit
bbdd97911c
@ -83,3 +83,17 @@ nginx:
|
|||||||
labels:
|
labels:
|
||||||
- triton.cns.services=nginx
|
- triton.cns.services=nginx
|
||||||
- com.docker.swarm.affinities=["container!=~*nginx*"]
|
- com.docker.swarm.affinities=["container!=~*nginx*"]
|
||||||
|
#############################################################################
|
||||||
|
# Prometheus is an open source performance monitoring tool
|
||||||
|
# it is included here for demo purposes and is not required
|
||||||
|
#############################################################################
|
||||||
|
prometheus:
|
||||||
|
image: autopilotpattern/prometheus:latest
|
||||||
|
restart: always
|
||||||
|
mem_limit: 1g
|
||||||
|
env_file: .env
|
||||||
|
ports:
|
||||||
|
- 9090
|
||||||
|
labels:
|
||||||
|
- triton.cns.services=prometheus
|
||||||
|
- com.docker.swarm.affinities=["container!=~*prometheus*"]
|
||||||
|
Loading…
Reference in New Issue
Block a user