Skip to content

eiriksfa/ntnu-postgres

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Postgres docker compose

  1. Clone repo

git clone [email protected]:eiriksfa/ntnu-postgres.git

  1. Start dockerhub/docker service (if not running)
  2. When in repo folder, start docker compose

docker compose up -d

  1. Open browser and go to localhost:8080 and login to pgadmin

PgAdmin4 login

The username and password is defined in the docker-compose.yml file, under the pgadmin service. Default: [email protected] : ntnu

  1. Connect to postgres database (required fields are marked in red)

Database name (any)

Database registration 1

  • Hostname/address is the same as "container_name" of the postgresdb service.
  • username and password is defined in the environment part of postgresdb service in the docker-compose.yml file

Database registration 2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published