Compare commits

...

4 Commits

Author SHA1 Message Date
drunkendog a6901f7a1e Add scripts/minio/manifest.dat 2023-12-18 17:16:46 +00:00
drunkendog 8dbdb0d49b Forward minio api port 2023-12-18 17:16:16 +00:00
drunkendog 3d0d7b2353 Add scripts/minio/minio.conf.example 2023-12-18 17:14:50 +00:00
drunkendog 3d1ed38a86 Add scripts/minio/launch-docker.sh 2023-12-18 17:14:16 +00:00
3 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,11 @@
. /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 \
-p 9000:9000 \
--name=minio \
-e "MINIO_ROOT_USER=$MINIO_USER" \
-e "MINIO_ROOT_PASSWORD=$MINIO_PASSWORD" \
--restart unless-stopped \
quay.io/minio/minio server /data --console-address ":9090"

View File

@ -0,0 +1,10 @@
%
@ #ip_address
@ http://172.30.26.1:9090/
%
@ #service
@ minio
%
@ #ADDITIONAL_REPLACE
@ template = template.replace("proxy_set_header Host $host;", "proxy_set_header Host $host;\nproxy_set_header Upgrade $http_upgrade;\nproxy_set_header Connection \"upgrade\";")

View File

@ -0,0 +1,2 @@
MINIO_USER="user"
MINIO_PASSWORD="password"