Skip to content

Commit 10dfea3

Browse files
authored
Add a volume for minio (#2741)
1 parent f7a22aa commit 10dfea3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

packages/examples/cvat/exchange-oracle/docker-compose.dev.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,13 @@ services:
4141
MINIO_ROOT_USER: dev
4242
MINIO_ROOT_PASSWORD: devdevdev
4343
volumes:
44-
- ./tests/utils/datasets:/tmp/datasets
44+
- minio:/data
4545
entrypoint: 'sh'
4646
ports:
4747
- 9010:9010
4848
- 9011:9011
4949
command:
50-
-c "
51-
cp -r /tmp/datasets /data &&
52-
minio server /data --console-address ':9011' --address ':9010'"
50+
-c "minio server /data --console-address ':9011' --address ':9010'"
5351
healthcheck:
5452
test: ["CMD", "curl", "-f", "http://localhost:9010/minio/health/live"]
5553
interval: 5s
@@ -84,6 +82,7 @@ services:
8482
volumes:
8583
postgres:
8684
redis:
85+
minio:
8786

8887
networks:
8988
test-network:

0 commit comments

Comments
 (0)