MinIO - Bumped version, tweaked API name + env, hardened root user keys, added endnotes (#858)
* Bumped version, tweaked API endpoint * Bumped version, updated API URL, add'l end notes * Added CLIENT_MAX_BODY_SIZE
This commit is contained in:
parent
c68e27d5fb
commit
b170ddc63d
|
|
@ -10,45 +10,67 @@ services:
|
|||
MINIO_ROOT_PASSWORD: $$cap_secret_key
|
||||
MINIO_REGION_NAME: 'eu-east-1'
|
||||
MINIO_BROWSER_REDIRECT_URL: https://$$cap_appname.$$cap_root_domain
|
||||
MINIO_SERVER_URL: https://$$cap_appname-s3.$$cap_root_domain # MinIO S3 API
|
||||
MINIO_SERVER_URL: https://$$cap_appname-api.$$cap_root_domain # MinIO S3 API
|
||||
caproverExtra:
|
||||
containerHttpPort: '9001'
|
||||
dockerfileLines:
|
||||
- FROM minio/minio:$$cap_minio_version
|
||||
- CMD ["server", "/data", "--console-address", ":9001"]
|
||||
$$cap_appname-s3:
|
||||
$$cap_appname-api:
|
||||
image: caprover/nginx-reverse-proxy:1-ef5ffcb
|
||||
restart: always
|
||||
depends_on:
|
||||
- $$cap_appname
|
||||
environment:
|
||||
UPSTREAM_HTTP_ADDRESS: http://srv-captain--$$cap_appname:9000
|
||||
CLIENT_MAX_BODY_SIZE: 0
|
||||
caproverOneClickApp:
|
||||
variables:
|
||||
- id: $$cap_minio_version
|
||||
label: MinIO Version
|
||||
defaultValue: RELEASE.2021-08-17T20-53-08Z
|
||||
defaultValue: RELEASE.2023-01-18T04-36-38Z
|
||||
description: Check out their Docker page for the valid tags https://hub.docker.com/r/minio/minio/tags/
|
||||
validRegex: /^([^\s^\/])+$/
|
||||
- id: $$cap_access_key
|
||||
label: MinIO Access Key
|
||||
defaultValue: ''
|
||||
description: Username to access MinIO server
|
||||
validRegex: /.{5,}/
|
||||
label: MinIO Root User Access Key
|
||||
defaultValue: $$cap_gen_random_hex(24)
|
||||
description: Access key for `MINIO_ROOT_USER`. If unset, minio defaults to `minioadmin`. MinIO strongly recommends specifying a unique, long, and random value for all environments.
|
||||
validRegex: /(.{5,})|(^\s{0}$)/m
|
||||
- id: $$cap_secret_key
|
||||
label: Minio Secret Key
|
||||
defaultValue: ''
|
||||
description: Password to access MinIO server
|
||||
validRegex: /.{8,}/
|
||||
defaultValue: $$cap_gen_random_hex(38)
|
||||
description: Secret key for `MINIO_ROOT_PASSWORD`. If unset, minio defaults to `minioadmin`. MinIO strongly recommends specifying a unique, long, and random value for all environments.
|
||||
validRegex: /(.{8,})|(^\s{0}$)/m
|
||||
instructions:
|
||||
start: >-
|
||||
MinIO is a High Performance Object Storage released under GNU Affero General Public License v3.0.
|
||||
It is API compatible with Amazon S3 cloud storage service.
|
||||
end: >-
|
||||
Minio is deployed and available as $$cap_appname.
|
||||
**Important**: Make sure to enable HTTPS and WEBSOCKETS for both $$cap_appname and $$cap_appname-s3
|
||||
You can access the dashboard at https://$$cap_appname.$$cap_root_domain
|
||||
And, you can access the S3 API Endpoint at https://$$cap_appname-s3.$$cap_root_domain
|
||||
end: |-
|
||||
|
||||
✅ MinIO has been deployed!
|
||||
--------------------------------------------
|
||||
_MinIO has been successfully deployed! Be sure to read the next steps below before attempting to access https://$$cap_appname.$$cap_root_domain._
|
||||
|
||||
--------------------------------------------
|
||||
❗️ **IMPORTANT**: Before launching MinIO be sure to change the following settings:
|
||||
|
||||
**Step 1**: Go to the settings for `$$cap_appname` and `$$cap_appname-api`
|
||||
**Step 2**: Enable **HTTPS**
|
||||
**Step 3**: Enable **Websocket Support**
|
||||
|
||||
🔐 Dashboard access uses the keys set during deployment. If left blank, MinIO sets the keys by default to _minioadmin_.
|
||||
|
||||
**Access Key**: $$cap_access_key
|
||||
**Secret Key**: $$cap_secret_key
|
||||
|
||||
🌐 After completing the steps above, you can access MinIO at:
|
||||
|
||||
**Dashboard**: https://$$cap_appname.$$cap_root_domain
|
||||
**S3 API Endpoint**: https://$$cap_appname-api.$$cap_root_domain
|
||||
|
||||
--------------------------------------------
|
||||
🔰 More information on initial configuration can be found at https://docs.min.io/docs/minio-docker-quickstart-guide.html
|
||||
|
||||
displayName: 'MinIO'
|
||||
isOfficial: true
|
||||
description: MinIO is a cloud storage server compatible with Amazon S3
|
||||
|
|
|
|||
Loading…
Reference in New Issue