Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a default database URL #10296

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Commits on Aug 28, 2024

  1. Implement a default database URL

    This implements a default database URL, which is postgresql:// for
    production and postgresql:///foreman-$ENV otherwise. That means using
    a unix socket to connect to, which implies the username and doesn't need
    any password. When no database name is given (like in production)
    PostgreSQL assumes one that matches the username.
    
    By doing this, there is no need for a config/database.yml file which
    simplifies setup.
    ekohl committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    a7ff3e8 View commit details
    Browse the repository at this point in the history