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

Installed PostgresSQL into the container. #39

Merged
merged 16 commits into from
May 1, 2024
Merged

Conversation

nhkhai
Copy link
Collaborator

@nhkhai nhkhai commented May 1, 2024

No description provided.

nhkhai added 16 commits May 1, 2024 22:36
Updated to install a Postgres within the Docker container.
Changed to use gosu instead to send the command as the postgres user.
Create a new database named the_review_room instead of renaming the postgres database.
Changed the name of the non root user.
Create a shell script on the fly to start the postgres database, wait for it to start up, then run the app.
Shifted the change of user below, as the root access was needed to changed the shell script to be executable.
Shifted the user setup above.
Change the permissions of the /var/run/postgresql directory, so that myuser can access it later.
Shifted the permission change logic.
Updated the implementation to wait a fixed amount of time rather than check the status.
Changed to run as a root use.
Set the PostgreSQL authentication setting to trust.
Updated the sed command params.
Updated logic.
Changed the build stage environment to jdk-alpine.
Reduced the hardcoded wait time.
@nhkhai nhkhai added the enhancement New feature or request label May 1, 2024
@nhkhai nhkhai self-assigned this May 1, 2024
@nhkhai nhkhai merged commit 652f14f into kiblykat:main May 1, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant