Sha256: 3739eb537df99c8f2d92e3a1392ee8e6ae017c09c5f950a912932cee45413c30
Contents?: true
Size: 902 Bytes
Versions: 14
Compression:
Stored size: 902 Bytes
Contents
# frozen_string_literal: true module Orchestration module Services module Database module Adapters class Postgresql def name 'postgresql' end def image 'library/postgres' end def credentials { 'username' => 'postgres', 'password' => 'password', 'database' => 'postgres' } end def errors [PG::ConnectionBad] end def default_port 5432 end def environment { 'PGPORT' => DockerCompose::DatabaseService::PORT.to_s, 'POSTGRES_PASSWORD' => 'password', 'PGDATA' => data_dir } end def data_dir '/var/pgdata' end end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems