code.gitea.io/gitea@v1.21.7/tests/sqlite.ini.tmpl (about)

     1  APP_NAME = Gitea: Git with a cup of tea
     2  RUN_MODE = prod
     3  
     4  [database]
     5  DB_TYPE = sqlite3
     6  PATH    = tests/{{TEST_TYPE}}/gitea-{{TEST_TYPE}}-sqlite/gitea.db
     7  
     8  [indexer]
     9  REPO_INDEXER_ENABLED = true
    10  REPO_INDEXER_PATH    = tests/{{TEST_TYPE}}/gitea-{{TEST_TYPE}}-sqlite/indexers/repos.bleve
    11  
    12  [queue.issue_indexer]
    13  TYPE = level
    14  DATADIR = tests/{{TEST_TYPE}}/gitea-{{TEST_TYPE}}-sqlite/indexers/issues.queue
    15  
    16  [queue]
    17  TYPE = immediate
    18  
    19  [queue.code_indexer]
    20  TYPE = immediate
    21  
    22  [queue.push_update]
    23  TYPE = immediate
    24  
    25  [repository]
    26  ROOT = {{REPO_TEST_DIR}}tests/{{TEST_TYPE}}/gitea-{{TEST_TYPE}}-sqlite/gitea-repositories
    27  
    28  [repository.local]
    29  LOCAL_COPY_PATH = tests/{{TEST_TYPE}}/gitea-{{TEST_TYPE}}-sqlite/tmp/local-repo
    30  
    31  [repository.upload]
    32  TEMP_PATH = tests/{{TEST_TYPE}}/gitea-{{TEST_TYPE}}-sqlite/tmp/uploads
    33  
    34  [repository.signing]
    35  SIGNING_KEY = none
    36  
    37  [server]
    38  SSH_DOMAIN       = localhost
    39  HTTP_PORT        = 3003
    40  ROOT_URL         = http://localhost:3003/
    41  DISABLE_SSH      = false
    42  SSH_LISTEN_HOST  = localhost
    43  SSH_PORT         = 2203
    44  START_SSH_SERVER = true
    45  LFS_START_SERVER = true
    46  OFFLINE_MODE     = false
    47  LFS_JWT_SECRET   = Tv_MjmZuHqpIY6GFl12ebgkRAMt4RlWt0v4EHKSXO0w
    48  APP_DATA_PATH    = tests/{{TEST_TYPE}}/gitea-{{TEST_TYPE}}-sqlite/data
    49  ENABLE_GZIP      = true
    50  BUILTIN_SSH_SERVER_USER = git
    51  SSH_TRUSTED_USER_CA_KEYS = ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCb4DC1dMFnJ6pXWo7GMxTchtzmJHYzfN6sZ9FAPFR4ijMLfGki+olvOMO5Fql1/yGnGfbELQa1S6y4shSvj/5K+zUFScmEXYf3Gcr87RqilLkyk16RS+cHNB1u87xTHbETaa3nyCJeGQRpd4IQ4NKob745mwDZ7jQBH8AZEng50Oh8y8fi8skBBBzaYp1ilgvzG740L7uex6fHV62myq0SXeCa+oJUjq326FU8y+Vsa32H8A3e7tOgXZPdt2TVNltx2S9H2WO8RMi7LfaSwARNfy1zu+bfR50r6ef8Yx5YKCMz4wWb1SHU1GS800mjOjlInLQORYRNMlSwR1+vLlVDciOqFapDSbj+YOVOawR0R1aqlSKpZkt33DuOBPx9qe6CVnIi7Z+Px/KqM+OLCzlLY/RS+LbxQpDWcfTVRiP+S5qRTcE3M3UioN/e0BE/1+MpX90IGpvVkA63ILYbKEa4bM3ASL7ChTCr6xN5XT+GpVJveFKK1cfNx9ExHI4rzYE=
    52  
    53  [attachment]
    54  PATH = tests/{{TEST_TYPE}}/gitea-{{TEST_TYPE}}-sqlite/data/attachments
    55  
    56  [mailer]
    57  ENABLED     = true
    58  PROTOCOL = dummy
    59  FROM        = sqlite-{{TEST_TYPE}}-test@gitea.io
    60  
    61  [service]
    62  REGISTER_EMAIL_CONFIRM            = false
    63  REGISTER_MANUAL_CONFIRM           = false
    64  ENABLE_NOTIFY_MAIL                = true
    65  DISABLE_REGISTRATION              = false
    66  ENABLE_CAPTCHA                    = false
    67  REQUIRE_SIGNIN_VIEW               = false
    68  DEFAULT_KEEP_EMAIL_PRIVATE        = false
    69  DEFAULT_ALLOW_CREATE_ORGANIZATION = true
    70  NO_REPLY_ADDRESS                  = noreply.example.org
    71  
    72  [picture]
    73  DISABLE_GRAVATAR              = false
    74  ENABLE_FEDERATED_AVATAR       = false
    75  AVATAR_UPLOAD_PATH            = tests/{{TEST_TYPE}}/gitea-{{TEST_TYPE}}-sqlite/data/avatars
    76  REPOSITORY_AVATAR_UPLOAD_PATH = tests/{{TEST_TYPE}}/gitea-{{TEST_TYPE}}-sqlite/data/repo-avatars
    77  
    78  [session]
    79  PROVIDER = file
    80  PROVIDER_CONFIG = tests/{{TEST_TYPE}}/gitea-{{TEST_TYPE}}-sqlite/data/sessions
    81  
    82  [log]
    83  MODE                 = {{TEST_LOGGER}}
    84  ROOT_PATH            = {{REPO_TEST_DIR}}sqlite-log
    85  ENABLE_SSH_LOG       = true
    86  logger.xorm.MODE     = file
    87  
    88  [log.test]
    89  LEVEL                = Info
    90  COLORIZE             = true
    91  
    92  [log.file]
    93  LEVEL                = Debug
    94  
    95  [security]
    96  DISABLE_GIT_HOOKS = false
    97  INSTALL_LOCK   = true
    98  SECRET_KEY     = 9pCviYTWSb
    99  INTERNAL_TOKEN = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE0OTI3OTU5ODN9.OQkH5UmzID2XBdwQ9TAI6Jj2t1X-wElVTjbE7aoN4I8
   100  
   101  [oauth2]
   102  JWT_SECRET = KZb_QLUd4fYVyxetjxC4eZkrBgWM2SndOOWDNtgUUko
   103  
   104  [lfs]
   105  PATH = tests/{{TEST_TYPE}}/gitea-{{TEST_TYPE}}-sqlite/data/lfs
   106  
   107  [packages]
   108  ENABLED = true
   109  
   110  [markup.html]
   111  ENABLED = true
   112  FILE_EXTENSIONS = .html
   113  RENDER_COMMAND = `go run build/test-echo.go`
   114  IS_INPUT_FILE = false
   115  RENDER_CONTENT_MODE=sanitized
   116  
   117  [actions]
   118  ENABLED = true