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_PORT=9000
MINIO_CONSOLE_PORT=9001
### ADMINER ###############################################

View File

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

View File

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