Skip to content

Can't setup google cloud storage with kamal deploy #69

@denikus

Description

@denikus

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions