goyave.dev/goyave/v4@v4.4.11/config.test.json (about)

     1  {
     2      "app": {
     3          "name": "goyave",
     4          "environment": "test",
     5          "debug": false,
     6          "defaultLanguage": "en-US"
     7      },
     8      "server": {
     9          "maintenance": false,
    10          "protocol": "http",
    11          "domain": "",
    12          "port": 1235,
    13          "httpsPort": 1236,
    14          "timeout": 10,
    15          "maxUploadSize": 10
    16      },
    17      "database": {
    18          "connection": "none",
    19          "host": "127.0.0.1",
    20          "port": 3306,
    21          "name": "goyave",
    22          "username": "goyave",
    23          "password": "secret",
    24          "options": "charset=utf8mb4&collation=utf8mb4_general_ci&parseTime=true&loc=Local",
    25          "maxOpenConnections": 20,
    26          "maxIdleConnections": 20,
    27          "maxLifetime": 300,
    28          "autoMigrate": false,
    29          "config": {
    30              "skipDefaultTransaction": false,
    31              "dryRun": false,
    32              "prepareStmt": true,
    33              "disableNestedTransaction": false,
    34              "allowGlobalUpdate": false,
    35              "disableAutomaticPing": false,
    36              "disableForeignKeyConstraintWhenMigrating": false
    37          }
    38      },
    39      "auth": {
    40          "jwt": {
    41              "expiry": 300.0,
    42              "secret": "jwt-secret",
    43              "rsa": {
    44                  "private": "resources/rsa/private.pem",
    45                  "public": "resources/rsa/public.pem"
    46              },
    47              "ecdsa": {
    48                  "private": "resources/ecdsa/private.pem",
    49                  "public": "resources/ecdsa/public.pem"
    50              }
    51          },
    52          "basic": {
    53              "username": "admin",
    54              "password": "admin"
    55          }
    56      }
    57  }