Rails::Generators::Database::PostgreSQL (original) (raw)
Methods
B
F
G
N
P
S
T
Instance Public methods
base_package()Link
def base_package "postgresql-client" end
build_package()Link
feature_name()Link
def feature_name "ghcr.io/rails/devcontainer/features/postgres-client" end
service()Link
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
template()Link
def template "config/databases/postgresql.yml" end