Skip to content
Configure traefik and oauth2_proxy without configuration files
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
.env.example Adds missing mysql variables Jan 12, 2020 Update 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

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


git clone 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


For deatils, see the blog entry:

You can’t perform that action at this time.