Skip to content

Docker Notes

Docker Compose

Starting docker services

To run a docker-compose.yml file that's not in the root directory you can use the -f flag.

Bash
$> docker compose -f *path_to_file* up -d

The -d flag tells docker to run the services in the background.

PGAdmin Extension in Docker

When adding a new server in the PGAdmin instance running as a docker extension you have to use host.docker.internal instead of localhost.