Skip to content

Code to run postgresql single sever and pgadmin with docker compose

License

Notifications You must be signed in to change notification settings

sebastianaf/training-postgresql-single

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

training-postgresql

Dockercompose file to to run postgresql sever with pgadmin

Requirements

  • Docker compose

Steps

1. Clone the repository

git clone https://github.com/sebastianaf/training-postgresql-single
cd training-postgresql-single

2. Set environment variables

Create a .env from .env.example file in the root folder with all environment variables, this variables will be used by the containers, it need to be reached by docker-compose.yml file.

3. Change training and postgresql names [Optional]

It's recommend to change all the names (in docker-compose.yml) named with org and project with your own organization name and project name.

4. Run

docker compose -p training-posgresql up -d

After type and run the command go to localhost:${PG_ADMIN_PORT}

About

Code to run postgresql single sever and pgadmin with docker compose

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published