Skip to content

My first Docker experience. Go and Postgres with Docker compose.

Notifications You must be signed in to change notification settings

yerassylbolatov/docker-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example commands

Rebuild and start: docker-compose up -d --build

Login: docker exec -it postgres psql -U user

This command will be determined by the docker-compose.yml file if different env variables are used.

Eg. docker exec -it postgres psql -U user testdb as this takes a database name.

Show tables: \dt

Show databases: \l

About

My first Docker experience. Go and Postgres with Docker compose.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published