Merge pull request #3020 from memochou1993/master

Add console port and fix environments for minio
This commit is contained in:
Shao Yu-Lung (Allen) 2021-08-12 16:55:48 +08:00 committed by GitHub
commit acbfd7d049
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 4 deletions

View File

@ -486,6 +486,9 @@ SELENIUM_PORT=4444
### MINIO ################################################# ### MINIO #################################################
MINIO_PORT=9000 MINIO_PORT=9000
MINIO_CONSOLE_PORT=9001
MINIO_ROOT_USER=laradock
MINIO_ROOT_PASSWORD=laradock
### 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=${MINIO_ROOT_USER}
- MINIO_SECRET_KEY=secretkey - MINIO_ROOT_PASSWORD=${MINIO_ROOT_PASSWORD}
networks: networks:
- frontend - frontend
- backend - backend
@ -2003,4 +2004,4 @@ services:
ports: ports:
- ${TARANTOOL_ADMIN_PORT}:80 - ${TARANTOOL_ADMIN_PORT}:80
networks: networks:
- 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"]