Learning as I go here, but ran into an issue running the cloud_sql_proxy from a compose file.
`cloudsql-proxy | 2021/11/11 15:57:39 invalid json file "app/secrets/cloudsql/credentials.json": open app/secrets/cloudsql/credentials.json: no such file or directory`
The error is only occurring when ran from in the docker-compose file. When I run it locally it works as expected.
I have a feeling it's how the volumes are mounted, but I am not sure at this point.
I've tried everything I have read in the docs, GCP Slack community & StackOverflow - nothing has helped.
Here's my compose:
# Gonna have to figure this out...
command: /cloud_sql_proxy -credential_file=app/secrets/cloudsql/ -instances=XXPROJECT_IDXX:XXREGIONXX:XXDB_NAMEXX=tcp:0.0.0.0:5432
# - feathers
command: 'npm run dev'
Any insight into why the compose file is telling me the json is invalid would be helpful.