{"id":15051053,"url":"https://github.com/ejdecena/lab_database","last_synced_at":"2026-02-23T20:07:38.259Z","repository":{"id":65848686,"uuid":"601329312","full_name":"ejdecena/lab_database","owner":"ejdecena","description":"This repository is intended to be a platform or academic laboratory for database design and implementation. This laboratory is based on #Docker technology to lift #Postgres 15 and #PgAdmin 4 services in a #Linux environment, mainly.","archived":false,"fork":false,"pushed_at":"2023-09-24T17:52:05.000Z","size":355,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-20T21:52:30.700Z","etag":null,"topics":["debian","debian-linux","docker","docker-compose","linux","pgadmin-docker","pgadmin4","postgres","postgresql"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ejdecena.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-13T20:53:02.000Z","updated_at":"2023-02-13T20:59:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"2d9d0688-763b-4cf0-8d60-2179a09e3efc","html_url":"https://github.com/ejdecena/lab_database","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ejdecena%2Flab_database","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ejdecena%2Flab_database/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ejdecena%2Flab_database/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ejdecena%2Flab_database/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ejdecena","download_url":"https://codeload.github.com/ejdecena/lab_database/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243511368,"owners_count":20302549,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["debian","debian-linux","docker","docker-compose","linux","pgadmin-docker","pgadmin4","postgres","postgresql"],"created_at":"2024-09-24T21:30:40.470Z","updated_at":"2025-10-29T13:37:15.507Z","avatar_url":"https://github.com/ejdecena.png","language":"Shell","readme":"# Database Laboratory.\n\n\nThis repository is intended to be a platform or academic laboratory for database design and implementation. This laboratory is based on Docker technology to lift PostgreSQL 15 and pgAdmin4 services in a Linux environment, mainly.\n\n\n### To install:\n```bash\n$ git clone https://github.com/ejdecena/lab_database\n$ cd lab_database\n$ sudo apt install make\n$ make install\n$ sudo usermod -aG docker $USER\n$ sudo service docker start\nclose the terninal.\n```\n\n## To run the laboratory:\n```bash\n$ make run\n```\n\n* GO TO http://```{PGADMIN_ADDRESS}```:```{PGADMIN_PORT}```\n* Username: ```user@gmail.com```.\n* Password: ```{PGADMIN_DEFAULT_PASSWORD}``` in ```.env``` file.\n\n## To login in pgAdmin4:\n![Login Pgadmin parameters](/images/login.png \"Login Pgadmin parameters\").\n\n## To register a server in pgAdmin4:\nWhen you log in for the first time, you will have to register a server. To do this, right click on the Servers option:\n\n![Register Server](/images/register_server.png \"Register Server\").\n\n## To connect pgAdmin4 to PostgreSQL:\n\nThe data for the connection are:\n\n* Host name / address: ```postgres_db```\n* Port: ```5432```\n* Database: ```{POSTGRES_DB}``` in ```.env``` file.\n* Username: ```{POSTGRES_USER}``` in ```.env``` file.\n* Pass: ```{POSTGRES_PASSWORD}``` in ```.env``` file.\n\n![Server Connection](/images/server_connection.png \"Server Connection\").\n\n## To access the PostgreSQL container:\n```bash\n$ make psql\n```\n\n## To look the logs of the laboratory:\n```bash\n$ make logs\n```\n\n## To stop the laboratory:\n```bash\n$ make stop\n```\n\n## To restart the laboratory:\n```bash\n$ make restart\n```\n\n## To reset the databases of laboratory:\n```bash\n$ make reset\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fejdecena%2Flab_database","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fejdecena%2Flab_database","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fejdecena%2Flab_database/lists"}