Ignore app/config/local/database.php ...

... and include a template in place of that.