Postgresql docker container which logs queries to stdout.
This project extends from the regular postgres images.
Run the development postgres container by executing the following command. This will use the latest postgres version.
docker run -p 127.0.0.1:5432:5432 --name postgres-logging timms/postgres-logging
You might want to run a specific version for your project's needs by defining a tag. The versions defined below are available as docker tags.
docker run -p 127.0.0.1:5432:5432 --name postgres-logging timms/postgres-logging:10.4
note: In case you run docker-machine, bind to 0.0.0.0 instead of localhost
Note that versions are available as branches.
The following versions are available:
- 11.1
- 11.0
- 10.6
- 10.5
- 10.4
- 10.3
- 10.2
- 10.1
- 10.0
- 9.6
- 9.5
- 9.4
- 9.3
- 9.2
- 9.1