/etc/prometheus/prometheus.yml location.docker-compose.yml template into your project folder and start the container.Configure your settings in the /etc/prometheus/prometheus.yml file.
For more info visit: Official Prometheus Installation Documentation
It's not secure to expose Prometheus via the HTTP protocol.