@@ -136,6 +136,14 @@ services: | |||||
environment: | environment: | ||||
discovery.type: single-node | discovery.type: single-node | ||||
image: elasticsearch:7.5.0 | 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: | steps: | ||||
- name: fetch-tags | - name: fetch-tags | ||||
@@ -80,3 +80,13 @@ INTERNAL_TOKEN = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE0OTI3OTU5ODN9.O | |||||
[oauth2] | [oauth2] | ||||
JWT_SECRET = KZb_QLUd4fYVyxetjxC4eZkrBgWM2SndOOWDNtgUUko | 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 |