Skip to content

Commit fabcda5

Browse files
committed
chore: add minio profile to docker-compose.yml and dev configuration
1 parent 6c60447 commit fabcda5

2 files changed

Lines changed: 19 additions & 1 deletion

File tree

docker-compose.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,3 +252,12 @@ services:
252252
profiles:
253253
- openvsx
254254
- commandline
255+
256+
minio:
257+
image: minio/minio:RELEASE.2025-09-07T16-13-09Z
258+
command: server --console-address ":9001" /data
259+
ports:
260+
- "9000:9000"
261+
- "9001:9001"
262+
profiles:
263+
- minio

server/src/dev/resources/application.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,17 @@ ovsx:
139139
registry:
140140
version: 'v1.1.0-dev'
141141
storage:
142+
# an example config using minio (use docker compose --profile minio up)
143+
# and login to localhost:9000 and create a bucket with name test
144+
# aws:
145+
# access-key-id: "minioadmin"
146+
# secret-access-key: "minioadmin"
147+
# region: "s3"
148+
# bucket: "test"
149+
# service-endpoint: "http://localhost:9000"
150+
# path-style-access: true
142151
local:
143-
directory: /tmp
152+
directory: /tmp/ovsx
144153
access-token:
145154
prefix: dev_ovsxat_ # use a token prefix that clearly indicates that it's for development
146155
expiration: 0 # do not expire tokens in a dev environment

0 commit comments

Comments
 (0)