github.com/friesencr/pop/v6@v6.1.6/genny/config/templates/postgres.yml.tmpl (about)

     1  ---
     2  development:
     3    dialect: postgres
     4    database: {{.opts.Prefix}}_development
     5    user: postgres
     6    password: postgres
     7    host: 127.0.0.1
     8    pool: 5
     9  
    10  test:
    11    url: {{"{{"}}envOr "TEST_DATABASE_URL" "postgres://postgres:postgres@127.0.0.1:5432/{{.opts.Prefix}}_test?sslmode=disable"}}
    12  
    13  production:
    14    url: {{"{{"}}envOr "DATABASE_URL" "postgres://postgres:postgres@127.0.0.1:5432/{{.opts.Prefix}}_production?sslmode=disable"}}