mirror of
https://github.com/MatthewL246/pretendo-docker.git
synced 2026-09-14 22:35:09 -05:00
Add a couple TODOs
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user