Sign inSign up

ansible/postgresql

By ansible

Updated over 9 years ago

Postgresql database

Image
0

10K+

ansible/postgresql repository overview

Overview

For a full description see the repository.

Usage

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: {}

Tag summary

Content type

Image

Digest

Size

133.7 MB

Last updated

over 9 years ago

docker pull ansible/postgresql