mirror of
https://git.cloudron.io/cloudron/minio-app
synced 2025-09-25 14:37:41 +00:00
create cert dir
This commit is contained in:
8
start.sh
8
start.sh
@@ -2,12 +2,16 @@
|
||||
|
||||
set -eu
|
||||
|
||||
mkdir -p /app/data/data /app/data/config
|
||||
mkdir -p /app/data/data /app/data/certs /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
|
||||
echo "Changing ownership"
|
||||
chown -R cloudron:cloudron /app/data
|
||||
|
||||
echo "Starting minio"
|
||||
exec /usr/local/bin/gosu cloudron:cloudron /app/code/minio server --config-dir /app/data/config --certs-dir /app/data/certs --address :8000 /app/data/data
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user