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

Add PgAdmin4 #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add PgAdmin4 #42

wants to merge 1 commit into from

Conversation

the-teacher
Copy link
Owner

@the-teacher the-teacher commented Oct 3, 2023

Adding PgAdmin4

It this PR I add PgAdmin4 and provide an additional way to manage application's database
https://www.pgadmin.org/

  • PR has the only feature
  • PR has a code example for this feature
  • [] PR has tests
  • Commits are reasonably squashed
  • [] Release note is attached

@the-teacher the-teacher added the enhancement New feature or request label Oct 3, 2023
@the-teacher the-teacher self-assigned this Oct 3, 2023
@the-teacher
Copy link
Owner Author

the-teacher commented Oct 3, 2023

[+] Running 8/8
 ⠿ Network rails7_startkit_default          Created
 
 ⠿ Container rails7_startkit-pgadmin-1      Started
 
 ⠿ Container rails7_startkit-mailcatcher-1  Started
 ⠿ Container rails7_startkit-redis-1        Started
 ⠿ Container rails7_startkit-elastic-1      Started
 ⠿ Container rails7_startkit-psql-1         Started
 ⠿ Container rails7_startkit-rails-1        Started
 ⠿ Container rails7_startkit-nginx-1        Starte
Screenshot 2023-10-03 at 18 17 43

Password: qwerty

Screenshot 2023-10-03 at 18 27 46 Screenshot 2023-10-03 at 18 29 41 Screenshot 2023-10-03 at 18 29 55 Screenshot 2023-10-03 at 18 30 27 Screenshot 2023-10-03 at 18 30 08 Screenshot 2023-10-03 at 18 18 24

@the-teacher
Copy link
Owner Author

  docker compose -f Rails7StartKit/docker/docker-compose.yml exec --user root  pgadmin /bin/sh
  
  apk update
  apk add busybox-extras
  telnet psql 5432
  
  apk --update add postgresql-client
  psql -h psql -d rails7_app_development -U postgres / qwerty

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