For a full description see the repository.
Here's how to use this image in the container.yml file of an Ansible Container project:
version: '2'
services:
postgres:
image: ansible/postgresql:latest
environment:
- POSTGRES_DB=mydb
- POSTGRES_USER=admin
- POSTGRES_PASS=admin
- PGDATA=/var/lib/pgsql/data/userdata
user: postgres
command: ['postgres']
entrypoint: ['/usr/bin/entrypoint.sh']
expose:
- 5432
volumes:
- pgql-data:/var/lib/pgsql/data
volumes:
pgsql-data: {}
Content type
Image
Digest
Size
133.7 MB
Last updated
over 9 years ago
docker pull ansible/postgresql