« blib/lib/auto/share/dist/Cmd-Dwarf/app/lib/App.pm
↑ Summary
blib/lib/auto/share/dist/Cmd-Dwarf/app/lib/App/Config/DevYoshizu.pm »
| 1 | package App::Config::DevDocker; | ||
| 2 | use Dwarf::Pragma; | ||
| 3 | use parent 'App::Config::Development'; | ||
| 4 | |||
| 5 | sub setup { | ||
| 6 | my $self = shift; | ||
| 7 | return ( | ||
| 8 | $self->SUPER::setup, | ||
| 9 | ssl => 0, | ||
| 10 | url => { | ||
| 11 | base => 'http://localhost:5000', | ||
| 12 | ssl_base => 'https://localhost:5000', | ||
| 13 | }, | ||
| 14 | db => { | ||
| 15 | master => { | ||
| 16 | dsn => 'dbi:Pg:dbname=postgres; host=db; port=5432', | ||
| 17 | username => 'postgres', | ||
| 18 | password => 'postgres', | ||
| 19 | opts => { pg_enable_utf8 => 1 }, | ||
| 20 | }, | ||
| 21 | }, | ||
| 22 | ); | ||
| 23 | } | ||
| 24 | |||
| 25 | 1; | ||
| 26 |