Skip to content

Commit ea2e246

Browse files
committed
Use rustfs instead of minio for local development
1 parent 89b26e5 commit ea2e246

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

docker-compose.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,19 @@ services:
3232
volumes:
3333
- 'photo_objects:/var/photo_objects'
3434
objsto:
35-
image: minio/minio
36-
command: server /data --console-address ":9001"
35+
image: rustfs/rustfs
36+
command: /data
3737
environment:
38-
MINIO_ROOT_USER: access_key
39-
MINIO_ROOT_PASSWORD: secret_key
40-
MINIO_DEFAULT_BUCKETS: photos
38+
RUSTFS_ACCESS_KEY: access_key
39+
RUSTFS_SECRET_KEY: secret_key
40+
RUSTFS_CONSOLE_ENABLED: 'true'
4141
ports:
4242
- 9000:9000
4343
- 9001:9001
4444
volumes:
45-
- 'miniodata:/data'
45+
- 'objstodata:/data'
4646

4747
volumes:
4848
pgdata:
49-
miniodata:
49+
objstodata:
5050
photo_objects:

0 commit comments

Comments
 (0)