This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App\Providers; | |
| use Illuminate\Support\ServiceProvider; | |
| use Lagdo\DbAdmin\Db\Config\InfisicalConfigReader; | |
| use function Jaxon\jaxon; | |
| class AppServiceProvider extends ServiceProvider |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| return [ | |
| 'common' => [ | |
| 'access' => [ | |
| 'server' => false, | |
| 'system' => false, | |
| ], | |
| ], | |
| 'fallback' => [], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| use Jaxon\Di\Container; | |
| use Lagdo\DbAdmin\Db\Config\UserFileReader; | |
| use Lagdo\DbAdmin\Db\DbAdminPackage; | |
| return [ | |
| 'app' => [ | |
| 'metadata' => [ | |
| 'cache' => [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM lagdo/jaxon-dbadmin:0.6 | |
| # Install the Infisical PHP SDK | |
| RUN composer require infisical/php-sdk:^0.0.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PGSQL_DB_HOST=pgsql.addr | |
| PGSQL_DB_PORT=5433 | |
| AUDIT_DB_HOST=pgsql.addr | |
| AUDIT_DB_PORT=5434 | |
| MARIA_DB_HOST=maria.addr | |
| MARIA_DB_PORT=3307 | |
| MYSQL_DB_HOST=mysql.addr |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PGSQL_DB_HOST=pgsql.addr | |
| PGSQL_DB_PORT=5433 | |
| PGSQL_DB_USERNAME=postgres | |
| PGSQL_DB_PASSWORD=******** | |
| AUDIT_DB_HOST=pgsql.addr | |
| AUDIT_DB_PORT=5434 | |
| AUDIT_DB_USERNAME=postgres | |
| AUDIT_DB_PASSWORD=******** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "common": { | |
| "access": { | |
| "server": false, | |
| "system": false | |
| } | |
| }, | |
| "fallback": {}, | |
| "users": [{ | |
| "default": "dbadmin-pgsql-14", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| use App\Http\Middleware\DbAdminPackageConfig; | |
| use App\Infisical\InfisicalConfigReader; | |
| use Infisical\SDK\InfisicalSDK; | |
| use Jaxon\Di\Container; | |
| use Lagdo\DbAdmin\Db\Config\AuthInterface; | |
| use Lagdo\DbAdmin\Db\Config\UserFileReader; | |
| use Lagdo\DbAdmin\Db\DbAdminPackage; | |
| use Lagdo\DbAdmin\Db\DbAuditPackage; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| services: | |
| jaxon-dbadmin: | |
| container_name: jaxon-dbadmin | |
| build: | |
| context: ./ | |
| dockerfile: Dockerfile | |
| restart: always | |
| volumes: | |
| - ./config/.env.dbadmin:/var/www/.env.dbadmin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App\Infisical; | |
| use Infisical\SDK\Models\GetSecretParameters; | |
| use Infisical\SDK\Models\Secret; | |
| use Infisical\SDK\Services\SecretsService; | |
| use Lagdo\DbAdmin\Db\Config\AuthInterface; | |
| use Lagdo\DbAdmin\Db\Config\ConfigReader; |
NewerOlder