Skip to content

Tesselay/PostgreSQL-Docker-Base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PostgreSQL Docker Base

Either change the values inside the compose file or use this command to set them when starting a container. The variables inside the psql command (./Scripts/*) probably won't work, so they'll need to be replaced manually-

docker compose -e NAME=VAL -e PORT=VAL -e DB_PASSWORD=VAL -e DB_USER=val -e DB_NAME=val -e HOST_PATH=VAL up
  • NAME = Container name
  • PORT = Host port
  • HOST_PATH = Host directory to save the db in
  • DB_x = Postgres specific env variables

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages