Skip to content

Commit cbc33fa

Browse files
committed
docker compose update
1 parent 48aa14e commit cbc33fa

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Diff for: docker-compose.yaml

+13
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,27 @@ services:
1212
depends_on:
1313
- minio
1414
- create-buckets
15+
entrypoint: >
16+
/bin/sh -c "
17+
sleep 2;
18+
api;
19+
"
1520
archiver:
1621
build:
1722
context: .
1823
dockerfile: archiver.Dockerfile
1924
env_file:
2025
- .env
26+
ports:
27+
- "8001:8000"
2128
depends_on:
2229
- minio
2330
- create-buckets
31+
entrypoint: >
32+
/bin/sh -c "
33+
sleep 2;
34+
archiver;
35+
"
2436
minio:
2537
restart: unless-stopped
2638
image: minio/minio:latest
@@ -37,6 +49,7 @@ services:
3749
- minio
3850
entrypoint: >
3951
/bin/sh -c "
52+
sleep 1;
4053
/usr/bin/mc alias set minio http://minio:9000 admin password;
4154
/usr/bin/mc mb minio/blobs;
4255
/usr/bin/mc anonymous set public minio/blobs;

0 commit comments

Comments
 (0)