mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-03 17:08:13 +00:00
1005 B
1005 B
production builds and deployment
Github Docker builds
The repository needs to be given read access to the base docker image:
https://github.com/orgs/storytold/packages/container/docker-base-images-rust-ssl/settings
These instructions assume running on GCP.
Database migrations
- Set
DATABASE_URLin.envto the production secrets (DO NOT COMMIT!) - Run
diesel migration run
Setting up public buckets without list permission
Public buckets that deny the list action should use the following Role:
roles/storage.legacyObjectReader
See:
- https://stackoverflow.com/a/56354633
- https://cloud.google.com/storage/docs/access-control/making-data-public#buckets
Generating Bucket Access Key and Secret Key
https://cloud.telestream.net/tutorials/how-to-setting-up-google-cloud-storage/
- Go to the GCS page
- Click "settings"
- Click "interoperability" tab
- (enable interoperable access if not already set)
- Click "create new key"