File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed
Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,8 @@ RUN curl -L -o /usr/local/bin/confd https://github.com/kelseyhightower/confd/rel
4747ENV PGHOARD_VERSION=1.5.0
4848RUN pip3 install git+https://github.com/ohmu/pghoard.git@${PGHOARD_VERSION}
4949
50+ RUN pip3 install google-api-python-client 'oauth2client<4'
51+
5052RUN mkdir /var/lib/pghoard
5153RUN chown postgres:postgres /var/lib/pghoard
5254
Original file line number Diff line number Diff line change 22
33set -e
44
5+ source /etc/profile
6+
57echo " Create pghoard directories..."
68chown -R postgres /home/postgres
79
Original file line number Diff line number Diff line change 3838 "is_secure": "{{getenv "AWS_IS_SECURE"}}",
3939 {{end}}
4040 "bucket_name":"{{getenv "AWS_BUCKETNAME"}}"
41- {{else if eq $storage_type "google"}}
42- "storage_type": "google",
43- "project_id ": "{{getenv "GCE_PROJECT_ID "}}",
44- "bucket_name ": "{{getenv "GCE_BUCKET_NAME "}}",
45- "credential_file": "{{getenv "GCE_CREDENTIAL_FILE"}}"
41+ {{else if eq $storage_type "google"}}
42+ "storage_type": "google",
43+ "bucket_name ": "{{getenv "GCS_BUCKET_NAME "}}",
44+ "project_id ": "{{getenv "GCE_PROJECT_ID "}}",
45+ "credential_file": "{{getenv "GCE_CREDENTIAL_FILE"}}"
4646 {{else if eq $storage_type "swift"}}
4747 "storage_type": "swift",
4848 "user":"{{getenv "OS_USERNAME"}}",
You can’t perform that action at this time.
0 commit comments