Hi.
Rather question than issue.
Trying to setup google cloud storage along with kamal.
Everything according to manual.
But still got not backups in bucket, and no error messages. Pretty sure bucket and access is fine (tested it separately).
I believe, problem is in this:
GOOGLE_APPLICATION_CREDENTIALS="config/credentials/my_gcs_auth_file.json"
File is on my local machine and after deployment with kamal it's just not in docker container.
I don't see other way to send auth file there. Probably should switch to key/pass authentication instead, but maybe someoneelse managed to solve this with json file?
here's litestream.yml:
dbs:
- path: /rails/storage/production.sqlite3
replica:
url: gs://my-bucket-name
Thanks.
Hi.
Rather question than issue.
Trying to setup google cloud storage along with kamal.
Everything according to manual.
But still got not backups in bucket, and no error messages. Pretty sure bucket and access is fine (tested it separately).
I believe, problem is in this:
GOOGLE_APPLICATION_CREDENTIALS="config/credentials/my_gcs_auth_file.json"File is on my local machine and after deployment with kamal it's just not in docker container.
I don't see other way to send auth file there. Probably should switch to key/pass authentication instead, but maybe someoneelse managed to solve this with json file?
here's litestream.yml:
Thanks.