Skip to content

Commit

Permalink
Remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
aleda145 committed Aug 19, 2022
1 parent a242aed commit da5a286
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions backend/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,6 @@ df -h
echo "litestream version"
litestream version

# # Docker entry point for image will decode the base64 secret and put it into the GOOGLE_APPLICATION_CREDENTIALS PATH that has been specified
# # this has to be done before litestream starts!
# # Should be no issue with the correct entrypoint
# # then it can be used by flyctl secrets as well
# # https://www.avaitla16.com/google-application-credentials-json-as-an-environment-variable
# # https://community.fly.io/t/how-are-you-managing-cert-files-with-fly/2984/20

# echo "set gcp key"
# echo "$GCP_KEY" | base64 -d > "$GOOGLE_APPLICATION_CREDENTIALS"

echo "Restore db if exists"
litestream restore -if-replica-exists /pb_data/data.db
litestream restore -if-replica-exists /pb_data/logs.db
Expand Down

0 comments on commit da5a286

Please sign in to comment.