Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,19 +57,23 @@ services:
ports:
- $MINIO_PORT:9000
env_file: .env
healthcheck:
test: ["CMD", "nc", "-z", "minio", "9000"]
interval: 5s
retries: 5

createbuckets:
image: minio/mc
depends_on:
- minio
minio:
condition: service_healthy
env_file: .env
# volumes:
# This volume is shared with `minio`, so `z` to share it
# - ./var/minio:/export
entrypoint: >
/bin/sh -c "
set -x
while ! nc -z minio 9000; echo 'Waiting for minio to startup...' && sleep 5;
set -x;
if [ -n \"$MINIO_ACCESS_KEY\" ] && [ -n \"$MINIO_SECRET_KEY\" ] && [ -n \"$MINIO_PORT\" ]; then
until /usr/bin/mc config host add minio_docker http://minio:$MINIO_PORT $MINIO_ACCESS_KEY $MINIO_SECRET_KEY && break; do echo '...waiting...' && sleep 5; done;
/usr/bin/mc mb minio_docker/$AWS_STORAGE_BUCKET_NAME;
Expand Down
5 changes: 1 addition & 4 deletions src/templates/pages/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@ <h3 class="ui icon header">
<!-- <i class="trophy icon"></i> -->
</h3>
<div>
<p>There is a planned maintenance for storage servers connected to Codalab.lisn.fr and codabench.org in Paris-Saclay.</p>
<p style="color: red">Service will be interrupted from March, 28th 8:00 CET to approximately 15:00 CET.</p>
<p>Portal will be accessible read-only: NO submission can be processed. We apologize for inconvenience.</p>
<p style="font-weight: bold;">your Codalab Team</p>
<p style="font-weight: bold;">Welcome to Codabench Beta !</p>
</div>
</div>
</div>
Expand Down