postgres-aws-s3
postgres-aws-s3 copied to clipboard
Streamline credentials configuration
Note: Depends on #32
Currently, it's required that the user manually set the credentials after the container's creation by using SET or aws_commons.create_aws_credentials.
This pull request makes it much easier to jump into using the tool. Instead of having to set the aws credentials from userspace, they are now set by docker compose. Those functions can now be used to override the default credentials.
Docker compose changes:
- Uses service
environmentproperty as opposed toenv-fileinstead of splitting between both - Sets the s3 request endpoint for usage by the postgres container
Updated docs:
- Recommend
plpython3uusage with docker-compose instead ofplpythonu - Adds remarks on setting your own credentials
Cleanup:
- Remove unneeded env file