rxhl / django-cloudrun Goto Github PK
View Code? Open in Web Editor NEWDeploy django on Google Cloud Run
Deploy django on Google Cloud Run
I was following your project and manage to fix something until the cloudbuild.yaml part.
I see you have - "SETTINGS_NAME=${_SECRET_SETTINGS_NAME}" but my settings.py can't load my GS_BUCKET_NAME from the .env.prod file. Which I uploaded to google secret manager. I don't know what to do next. Please help.
I have followed your post , for some reason my service account wont access secrets even with permissions added.
with above permissions i get
django.db.utils.OperationalError: could not translate host name "postgres://myuser:mypass@//cloudsql/myprojId:us-central1:instance" to address: Name or service not known
I have tried using
DATABASES ={'default': dj_database_url.config(default='postgres://myuser:mypass@//cloudsql/myprojId:us-central1:instance/db', conn_max_age=600)}
still doesnt work i get an error
psycopg2.OperationalError: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory
localy its builds successfully with proxy.
Thanks.
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.