minio-app/start.sh

14 lines
244 B
Bash
Raw Normal View History

2017-01-24 06:06:51 +00:00
#!/bin/bash
set -eu
mkdir -p /app/data/data /app/data/config
if ! [ -f /app/data/config/config.json ]; then
cp /app/code/config.json /app/data/config/config.json
fi
exec ./minio server -C /app/data/config --address :8000 /app/data/data