class Rails::Generators::Database::PostgreSQL
def base_package
def base_package "postgresql-client" end
def build_package
def build_package "libpq-dev" end
def feature_name
def feature_name "ghcr.io/rails/devcontainer/features/postgres-client" end
def gem
def gem ["pg", ["~> 1.1"]] end
def name
def name "postgres" end
def port
def port 5432 end
def service
def service { "image" => "postgres:16.1", "restart" => "unless-stopped", "networks" => ["default"], "volumes" => ["postgres-data:/var/lib/postgresql/data"], "environment" => { "POSTGRES_USER" => "postgres", "POSTGRES_PASSWORD" => "postgres" } } end