Skip to content
Configure traefik and oauth2_proxy without configuration files
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.env.example Adds missing mysql variables Jan 12, 2020
README.md Update README.md removes the reference to missing script Jan 12, 2020
docker-compose.yml Adds the files for the blog entry Jan 12, 2020
prometheus.yml Adds the files for the blog entry Jan 12, 2020

README.md

Use docker-compose to deploy Prometheus, Grafana, Portainer behind Traefik cloud native edge router, all protected by oauth2_proxy

Usage

git clone https://github.com/tlex/traefik-oauth2-proxy.git demo
cd demo
cp .env.example .env

Now you need to edit .env and set the correct values for all the variables there. Once this is done, you can proceed:

for i in grafana-db portainer-db prometheus traefik; do mkdir -p "./folders/${i}"; done
sudo chown 99:99 ./folders/prometheus
sudo docker-compose up --remove-orphans

Details

For deatils, see the blog entry: alex.thom.ae/2020/01/12/deploy-traefik-prometheus-grafana-oauth2_proxy-docker-compose/

You can’t perform that action at this time.