2023-12-18 17:14:16 +00:00
|
|
|
. /opt/minio/minio.conf
|
|
|
|
|
|
|
|
docker run -d --net main_subnet --ip 172.30.26.1 \
|
|
|
|
-e TZ=America/New_York \
|
|
|
|
-v /opt/minio/data:/data \
|
2023-12-18 17:16:16 +00:00
|
|
|
-p 9000:9000 \
|
2023-12-18 17:14:16 +00:00
|
|
|
--name=minio \
|
|
|
|
-e "MINIO_ROOT_USER=$MINIO_USER" \
|
|
|
|
-e "MINIO_ROOT_PASSWORD=$MINIO_PASSWORD" \
|
2023-12-20 17:59:10 +00:00
|
|
|
-e "MINIO_PROMETHEUS_URL=$PROMETHEUS_URL" \
|
|
|
|
-e "MINIO_PROMETHEUS_JOB_ID=$PROMETHEUS_JOB_ID" \
|
2023-12-20 18:09:51 +00:00
|
|
|
-e "MINIO_PROMETHEUS_AUTH_TOKEN=$PROMETHEUS_AUTH_TOKEN" \
|
2023-12-18 17:14:16 +00:00
|
|
|
--restart unless-stopped \
|
|
|
|
quay.io/minio/minio server /data --console-address ":9090"
|