Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pg16 r2 #6

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM alpine:3.15
FROM alpine:3.19

RUN apk update \
&& apk --no-cache add dumb-init postgresql-client curl aws-cli
&& apk --no-cache add dumb-init postgresql16-client curl aws-cli

RUN curl -L https://github.com/odise/go-cron/releases/download/v0.0.7/go-cron-linux.gz | zcat > /usr/local/bin/go-cron && chmod +x /usr/local/bin/go-cron

COPY entrypoint.sh .
COPY backup.sh .

ENTRYPOINT ["/usr/bin/dumb-init", "--"]
CMD ["sh", "entrypoint.sh"]
CMD ["sh", "entrypoint.sh"]
1 change: 1 addition & 0 deletions backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,4 @@ case "${PG_BACKUP_ACTION:-dump}" in
pg_restore -v -d $POSTGRES_DB $POSTGRES_HOST_OPTS dump.backup
;;
esac

13 changes: 13 additions & 0 deletions boto.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[Credentials]
gs_access_key_id=replace_gs_access_key_id
gs_secret_access_key=replace_gs_secret_access_key

[Boto]

[GoogleCompute]

[GSUtil]
content_language = en
default_api_version = 2

[OAuth2]
Loading