postgres
service, built on the latest postgres image
. You can decide on the newest Postgres version or specify the version number you want to use.5432
is the default port number for PostgreSQL.docker-compose up
command with the -d
option to put it into detach mode (allowing you to continue to run commands from the current shell):psql
, the command-line interface for Postgres.example
container as the postgres
user.l
.q
.