This commit is contained in:
2023-06-16 21:44:35 -04:00
parent b553ac403e
commit adad8cea81
18 changed files with 360 additions and 0 deletions

View File

@ -0,0 +1,19 @@
<?php
return [
'database' => function() {
return new DI\Container([
'host' => $_ENV['MYSQL_HOST'],
'name' => $_ENV['MYSQL_DATABASE'],
'user' => function() {
return new DI\Container([
'name' => $_ENV['MYSQL_USER'],
'password' => $_ENV['MYSQL_PASSWORD']
]);
},
'table' => 'remote_ip',
]);
},
'uri' => 'https://api64.ipify.org',
'period' => 'PT20M',
'retries' => 5
];