pgblitz / traefik Goto Github PK
View Code? Open in Web Editor NEWVisit the PG Repos @ https://github.com/PGBlitz - Traefik (PG's Reverse Proxy)
Home Page: https://pgblitz.com
License: GNU General Public License v3.0
Visit the PG Repos @ https://github.com/PGBlitz - Traefik (PG's Reverse Proxy)
Home Page: https://pgblitz.com
License: GNU General Public License v3.0
So I've been updating my server from 8.3 and have run into an issue regarding Traefik.
With the 8.5 rewrite to make Traefik more modular (nice work!) it has broken providers that reference files in their environment variables. For example, Google Cloud's GCE_SERVICE_ACCOUNT_FILE
environment variable, which gets mapped to a volume in v8.4 for later usage.
The fix for this is to go the old way, add the file referenced in the env variable as a volume. I hardcoded it in my fork, however obviously this isn't ideal....
Traefik also started erroring when using GCE_SERVICE_ACCOUNT_FILE
,:
cannot get ACME client googlecloud: unable to get Google Cloud client: google: could not find default credentials
however changing the environment variable to GOOGLE_APPLICATION_CREDENTIALS
as per Google's documentation, which is now also supported by go-acme/lego (and as such Traefik) it started to work with no issues (after the above hardcoding in my fork, without it it said the file referenced in the env was not found...)
I'd recommend switching GCE_SERVICE_ACCOUNT_FILE
to GOOGLE_APPLICATION_CREDENTIALS
however it could pose issues with those using gcloud currently... though for those using gcloud currently it's unlikely Traefik is working for them anyway using the newer versions...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.