Skip to content

Commit

Permalink
fix: minio console accessible from internet
Browse files Browse the repository at this point in the history
  • Loading branch information
nischalstha9 committed Aug 8, 2024
1 parent e1d5d42 commit 958738c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ GOOGLE_CLIENT_ID="xxxxxxxxx-xxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com"
GOOGLE_CLIENT_SECRET="GOOGLE_CLIENT_SECRET"
SECRET_KEY=SUPERSECRETKEY

# Use MINIO_ENDPOINT if minioconsole exposed to internet & behind rev proxy.
# REF:https://min.io/docs/minio/linux/integrations/setup-nginx-proxy-with-minio.html
# ex: https://minio.example.net/minio/ui/
# MINIO_ENDPOINT=

EXTRA_CORS_ORIGINS=["http://localhost:3040"]

# For Frontend
Expand Down
3 changes: 2 additions & 1 deletion docker-compose.vm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ services:
environment:
MINIO_ROOT_USER: ${S3_ACCESS_KEY:-dtm_user}
MINIO_ROOT_PASSWORD: ${S3_SECRET_KEY:-somelongpassword}
MINIO_CONSOLE_ADDRESS: ":9090"
env_file:
- .env
ports:
- 9000:9000
- 9090:9090
Expand Down
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ services:
environment:
MINIO_ROOT_USER: ${S3_ACCESS_KEY:-dtm_user}
MINIO_ROOT_PASSWORD: ${S3_SECRET_KEY:-somelongpassword}
MINIO_CONSOLE_ADDRESS: ":9090"
env_file:
- .env
ports:
- 9000:9000
- 9090:9090
Expand Down

0 comments on commit 958738c

Please sign in to comment.