Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

google: could not find default credentials. #59

Open
kim-ae opened this issue Apr 26, 2024 · 0 comments
Open

google: could not find default credentials. #59

kim-ae opened this issue Apr 26, 2024 · 0 comments

Comments

@kim-ae
Copy link

kim-ae commented Apr 26, 2024

Hello,

I'm currently trying to execute a docker container locally just to get a feeling on how this would work, further I'll integrate on the k8s that I support.
Whenever I try to start the container I get his error: google: could not find default credentials, I understand that this is complaining that I don't have google credentials (probably for gcloud or something similar), but I just want to test it, and I'm able to execute the api commands that I got directly from the API Reference in the page speed site.
The command that I'm executing is:

docker run -p "9271:9271" --rm \
    --env PAGESPEED_TARGETS=https://google.com \  
    --env PAGESPEED_CATEGORIES=accessibility,pwa \
    foomo/pagespeed_exporter

How could I make the docker work? I did not see any additional configuration related with google credentials needed for this in the readme page.
Someone that has this knowledge could point me in the right direction?
Thanks in advance for the attention and assistance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant