Add console port and fix environments for minio

This commit is contained in:
Memo Chou 2021-07-11 00:13:15 +08:00
parent 2bbe850d28
commit 2ac65c3fea
3 changed files with 6 additions and 4 deletions

View File

@ -486,6 +486,7 @@ SELENIUM_PORT=4444
### MINIO ################################################# ### MINIO #################################################
MINIO_PORT=9000 MINIO_PORT=9000
MINIO_CONSOLE_PORT=9001
### ADMINER ############################################### ### ADMINER ###############################################

View File

@ -468,9 +468,10 @@ services:
- ${DATA_PATH_HOST}/minio/config:/root/.minio - ${DATA_PATH_HOST}/minio/config:/root/.minio
ports: ports:
- "${MINIO_PORT}:9000" - "${MINIO_PORT}:9000"
- "${MINIO_CONSOLE_PORT}:9001"
environment: environment:
- MINIO_ACCESS_KEY=access - MINIO_ROOT_USER=access
- MINIO_SECRET_KEY=secretkey - MINIO_ROOT_PASSWORD=secretkey
networks: networks:
- frontend - frontend
- backend - backend

View File

@ -2,4 +2,4 @@ FROM minio/minio
LABEL maintainer="Thor Erik Lie <thor@thorerik.com>" LABEL maintainer="Thor Erik Lie <thor@thorerik.com>"
ENTRYPOINT ["minio", "server", "/export"] ENTRYPOINT ["minio", "server", "--console-address", ":9001", "/export"]