Skip to content

An example setup of Prometheus and Django using Docker Compose.

Notifications You must be signed in to change notification settings

dotja/django-prometheus-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django/ Prometheus/ Docker Compose Example

Description

A setup to run 3 Docker containers (2 Django services and 1 Prometheus service) using Docker Compose. The Prometheus container is used to monitor the 2 Django apps.

The Prometheus container runs at port 9090.

Django "app1" runs at port 8000.

Django "app2" runs at port 8080.

How to Run?

docker-compose -f docker-compose.yml up

Check: 127.0.0.1:9090, 127.0.0.1:8000 and 127.0.0.1:8080

For Prometheus:

Go to status then targets to find the Django services.

About

An example setup of Prometheus and Django using Docker Compose.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published