Add a couple TODOs

This commit is contained in:
Matthew Lopez
2023-12-19 13:33:38 -05:00
parent 3e8632e802
commit 83e5b43eba
2 changed files with 4 additions and 1 deletions

View File

@@ -64,6 +64,8 @@ services:
internal:
command: --config "/etc/mongod.conf" --replSet rs
# TODO: S3 uploads from the servers use the first part of the path (like
# "mii") as the bucket name instead of "pn-cdn". Why?
minio:
image: minio/minio:latest
ports:

View File

@@ -7,8 +7,9 @@ minio_init_script=$(cat "$git_base/config/minio-init.sh")
docker compose up -d minio
# TODO: Find a better way to do this in case Minio takes longer to start up
echo "Waiting for minio to be ready..."
sleep 1
sleep 2
docker compose exec minio sh -c "$minio_init_script"
docker compose down minio