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

     1  APP_NAME = Gitea: Git with a cup of tea
     2  RUN_MODE = prod
     3  
     4  [database]
     5  DB_TYPE  = postgres
     6  HOST     = {{TEST_PGSQL_HOST}}
     7  NAME     = {{TEST_PGSQL_DBNAME}}
     8  USER     = {{TEST_PGSQL_USERNAME}}
     9  PASSWD   = {{TEST_PGSQL_PASSWORD}}
    10  SCHEMA   = {{TEST_PGSQL_SCHEMA}}
    11  SSL_MODE = disable
    12  
    13  [indexer]
    14  REPO_INDEXER_ENABLED = true
    15  REPO_INDEXER_PATH = tests/{{TEST_TYPE}}/gitea-{{TEST_TYPE}}-pgsql/indexers/repos.bleve
    16  
    17  [queue.issue_indexer]
    18  TYPE = level
    19  DATADIR = tests/{{TEST_TYPE}}/gitea-{{TEST_TYPE}}-pgsql/indexers/issues.queue
    20  
    21  [queue]
    22  TYPE = immediate
    23  
    24  [queue.code_indexer]
    25  TYPE = immediate
    26  
    27  [queue.push_update]
    28  TYPE = immediate
    29  
    30  [repository]
    31  ROOT = {{REPO_TEST_DIR}}tests/{{TEST_TYPE}}/gitea-{{TEST_TYPE}}-pgsql/gitea-repositories
    32  
    33  [repository.local]
    34  LOCAL_COPY_PATH = tests/{{TEST_TYPE}}/gitea-{{TEST_TYPE}}-pgsql/tmp/local-repo
    35  
    36  [repository.upload]
    37  TEMP_PATH = tests/{{TEST_TYPE}}/gitea-{{TEST_TYPE}}-pgsql/tmp/uploads
    38  
    39  [repository.signing]
    40  SIGNING_KEY = none
    41  
    42  [server]
    43  SSH_DOMAIN       = localhost
    44  HTTP_PORT        = 3002
    45  ROOT_URL         = http://localhost:3002/
    46  DISABLE_SSH      = false
    47  SSH_LISTEN_HOST  = localhost
    48  SSH_PORT         = 2202
    49  START_SSH_SERVER = true
    50  LFS_START_SERVER = true
    51  OFFLINE_MODE     = false
    52  LFS_JWT_SECRET   = Tv_MjmZuHqpIY6GFl12ebgkRAMt4RlWt0v4EHKSXO0w
    53  APP_DATA_PATH    = tests/{{TEST_TYPE}}/gitea-{{TEST_TYPE}}-pgsql/data
    54  BUILTIN_SSH_SERVER_USER = git
    55  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=
    56  
    57  [attachment]
    58  PATH = tests/{{TEST_TYPE}}/gitea-{{TEST_TYPE}}-pgsql/data/attachments
    59  
    60  [mailer]
    61  ENABLED = true
    62  PROTOCOL = dummy
    63  FROM = pgsql-{{TEST_TYPE}}-test@gitea.io
    64  
    65  [service]
    66  REGISTER_EMAIL_CONFIRM            = false
    67  REGISTER_MANUAL_CONFIRM           = false
    68  DISABLE_REGISTRATION              = false
    69  ENABLE_CAPTCHA                    = false
    70  REQUIRE_SIGNIN_VIEW               = false
    71  DEFAULT_KEEP_EMAIL_PRIVATE        = false
    72  DEFAULT_ALLOW_CREATE_ORGANIZATION = true
    73  NO_REPLY_ADDRESS                  = noreply.example.org
    74  ENABLE_NOTIFY_MAIL                = true
    75  
    76  [picture]
    77  DISABLE_GRAVATAR              = false
    78  ENABLE_FEDERATED_AVATAR       = false
    79  AVATAR_UPLOAD_PATH            = tests/{{TEST_TYPE}}/gitea-{{TEST_TYPE}}-pgsql/data/avatars
    80  REPOSITORY_AVATAR_UPLOAD_PATH = tests/{{TEST_TYPE}}/gitea-{{TEST_TYPE}}-pgsql/data/repo-avatars
    81  
    82  [session]
    83  PROVIDER        = file
    84  PROVIDER_CONFIG = tests/{{TEST_TYPE}}/gitea-{{TEST_TYPE}}-pgsql/data/sessions
    85  
    86  [log]
    87  MODE                 = {{TEST_LOGGER}}
    88  ROOT_PATH            = {{REPO_TEST_DIR}}pgsql-log
    89  ENABLE_SSH_LOG       = true
    90  logger.xorm.MODE     = file
    91  
    92  [log.test]
    93  LEVEL                = Info
    94  COLORIZE             = true
    95  
    96  [log.file]
    97  LEVEL                = Debug
    98  
    99  [security]
   100  DISABLE_GIT_HOOKS = false
   101  INSTALL_LOCK   = true
   102  SECRET_KEY     = 9pCviYTWSb
   103  INTERNAL_TOKEN = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE0OTU1NTE2MTh9.hhSVGOANkaKk3vfCd2jDOIww4pUk0xtg9JRde5UogyQ
   104  
   105  [lfs]
   106  MINIO_BASE_PATH = lfs/
   107  
   108  [attachment]
   109  MINIO_BASE_PATH = attachments/
   110  
   111  [avatars]
   112  MINIO_BASE_PATH = avatars/
   113  
   114  [repo-avatars]
   115  MINIO_BASE_PATH = repo-avatars/
   116  
   117  [storage]
   118  STORAGE_TYPE = minio
   119  SERVE_DIRECT = false
   120  MINIO_ENDPOINT = minio:9000
   121  MINIO_ACCESS_KEY_ID = 123456
   122  MINIO_SECRET_ACCESS_KEY = 12345678
   123  MINIO_BUCKET = gitea
   124  MINIO_LOCATION = us-east-1
   125  MINIO_USE_SSL = false
   126  MINIO_CHECKSUM_ALGORITHM = md5
   127  
   128  [packages]
   129  ENABLED = true
   130  
   131  [actions]
   132  ENABLED = true