Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Calax/compose-postgres

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Postgresql powered by compose

Requirements:

  • docker >= 17.12.0+
  • docker-compose

Quick Start

  • Clone or download this repository
  • Go inside of directory, cd compose-postgres
  • Run this command docker compose up -d

Environments

This Compose file contains the following environment variables:

  • POSTGRES_USER
  • POSTGRES_PASSWORD

Configuration on start

docker-entrypoint-initdb.d is a directory with .sql files. All the scripts in that directory will be executed on start of the container.

Therefore, if you want to add a new database, user, or table, you can add a new .sql file to that directory.

Access to postgres:

  • localhost:6001

About

Postgresql & pgadmin4 powered by compose

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.