diff --git a/.drone.yml b/.drone.yml index ac8c92918..c978900c3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -136,6 +136,14 @@ services: environment: discovery.type: single-node image: elasticsearch:7.5.0 + + - name: minio + image: minio/minio:RELEASE.2020-05-16T01-33-21Z + commands: + - minio server ./data + environment: + MINIO_ACCESS_KEY: 123456 + MINIO_SECRET_KEY: 123456 steps: - name: fetch-tags diff --git a/integrations/sqlite.ini.tmpl b/integrations/sqlite.ini.tmpl index 387368184..0c34b14fa 100644 --- a/integrations/sqlite.ini.tmpl +++ b/integrations/sqlite.ini.tmpl @@ -80,3 +80,13 @@ INTERNAL_TOKEN = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE0OTI3OTU5ODN9.O [oauth2] JWT_SECRET = KZb_QLUd4fYVyxetjxC4eZkrBgWM2SndOOWDNtgUUko + +[attachment] +STORE_TYPE = minio +MINIO_ENDPOINT = localhost:9000 +MINIO_ACCESS_KEY_ID = 123456 +MINIO_SECRET_ACCESS_KEY = 123456 +MINIO_BUCKET = gitea +MINIO_LOCATION = us-east-1 +MINIO_BASE_PATH = attachments/ +MINIO_USE_SSL = false \ No newline at end of file