docker-compose up
- open http://localhost:81
- Email: admin@example.com
- Password: changeme
- setup a Proxy host like in the below image (make sure to point to the right minio port)
- you can also configure Let's Encrypt Certificates using Cloudflare DNS Challages like *.your-domain.com
- open http://minio.your-domain.com with the credentials provided in
.env
file - create a bucket and then create an Access Key
- configure your app with the following settings:
- endpoint: 'https://minio-api.your-domain.com'
- bucket: 'bringes-production-postgresql'
- region: 'us-east-1'
- access_key: 'XXXX'
- secret_key: 'XXXXX'
-
-
Save iosifnicolae2/40e95126142b5155b4039cc696321a37 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MINIO_ROOT_USER=dev | |
MINIO_ROOT_PASSWORD=dev-pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.2' | |
services: | |
minio: | |
image: minio/minio:RELEASE.2023-10-07T15-07-38Z.fips | |
restart: unless-stopped | |
environment: | |
- MINIO_ROOT_USER=${MINIO_ROOT_USER} | |
- MINIO_ROOT_PASSWORD=${MINIO_ROOT_PASSWORD} | |
volumes: | |
- "./data/minio:/data" | |
command: server --console-address ":9001" /data | |
logging: | |
driver: "json-file" | |
options: | |
max-size: "100m" | |
max-file: "3" | |
nginx: | |
image: 'jc21/nginx-proxy-manager:2.10.4' | |
restart: unless-stopped | |
volumes: | |
- ./data/nginx/data:/data | |
- ./data/nginx/letsencrypt:/etc/letsencrypt | |
ports: | |
- '80:80' | |
- '81:81' | |
- '443:443' | |
logging: | |
driver: "json-file" | |
options: | |
max-size: "100m" | |
max-file: "3" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment