feat: use MINIO_CONSOLE_PORT
This commit is contained in:
@@ -32,10 +32,10 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
MINIO_ROOT_USER: ${MINIO_ACCESS_KEY}
|
MINIO_ROOT_USER: ${MINIO_ACCESS_KEY}
|
||||||
MINIO_ROOT_PASSWORD: ${MINIO_SECRET_KEY}
|
MINIO_ROOT_PASSWORD: ${MINIO_SECRET_KEY}
|
||||||
command: server /data --console-address :9001
|
command: server /data --console-address :${MINIO_CONSOLE_PORT}
|
||||||
ports:
|
ports:
|
||||||
- "${MINIO_PORT}:${MINIO_PORT}" # API port
|
- "${MINIO_PORT}:${MINIO_PORT}" # API port
|
||||||
- "9001:9001" # WebUI port
|
- "${MINIO_CONSOLE_PORT}:${MINIO_CONSOLE_PORT}" # WebUI port
|
||||||
volumes:
|
volumes:
|
||||||
- minio_data:/data
|
- minio_data:/data
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user