-
Notifications
You must be signed in to change notification settings - Fork 15
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
Improve container image #60
Commits on Jul 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7d1527d - Browse repository at this point
Copy the full SHA 7d1527dView commit details -
Change: Don't adjust postgres hba config in Dockerfile
The postgres hba config file contains the access rules to the postgres cluster. It will be adjusted in the entry point script in future.
Configuration menu - View commit details
-
Copy full SHA for 7a34f3f - Browse repository at this point
Copy the full SHA 7a34f3fView commit details -
Put signal handler into bash function
This allows for easier adjustments in future and for easier quoting.
Configuration menu - View commit details
-
Copy full SHA for 793a9dd - Browse repository at this point
Copy the full SHA 793a9ddView commit details -
Adjust and improve variables in start-postgresql script for container
Allow for more flexible configuration of the database parameters.
Configuration menu - View commit details
-
Copy full SHA for fb647be - Browse repository at this point
Copy the full SHA fb647beView commit details -
Change: Adjust postgres access during container startup
Always allow access via the unix domain socket and allow to configure the authentication for the access via tcp via a POSTGRES_HOST_AUTH_METHOD environment variable. By default users must be authenticated via password when using tcp and the passwords are created using the md5 authentication method.
Configuration menu - View commit details
-
Copy full SHA for 52b6baf - Browse repository at this point
Copy the full SHA 52b6bafView commit details -
Don't listen on tcp for the initial database setup
We need to initialize the db without influence from the outside. Therefore don't allow access to the database via TCP connections for the moment.
Configuration menu - View commit details
-
Copy full SHA for 94fc1c4 - Browse repository at this point
Copy the full SHA 94fc1c4View commit details -
Change: Allow access to the postgres db via TCP connections
Listen on all IP addresses of the container when starting the final db cluster. This will allow to access the database via TCP connections from the host for example when exposing the port 5432.
Configuration menu - View commit details
-
Copy full SHA for 094e321 - Browse repository at this point
Copy the full SHA 094e321View commit details -
Change: Only create postgres db user when it doesn't exist in container
Avoid errors in the log when trying the create the db user twice.
Configuration menu - View commit details
-
Copy full SHA for 1c87bbb - Browse repository at this point
Copy the full SHA 1c87bbbView commit details -
Change: Allow to set db user password for container
For TCP access from the outside allow to set a password for the created database user.
Configuration menu - View commit details
-
Copy full SHA for a543624 - Browse repository at this point
Copy the full SHA a543624View commit details -
Change: Only create new postgres db if doesn't exist yet in container
Avoid errors when starting a container with an existing database.
Configuration menu - View commit details
-
Copy full SHA for 8fae353 - Browse repository at this point
Copy the full SHA 8fae353View commit details -
Change: Create role and extensions only if they don't exist in container
Avoid errors when starting an already existing and set up database.
Configuration menu - View commit details
-
Copy full SHA for 82a1c49 - Browse repository at this point
Copy the full SHA 82a1c49View commit details