Commit 94b0188c by Theresa Committed by GitHub

update: modify MINIO_HOST to accept IP or domain and comment out port… (#5136)

* update: modify MINIO_HOST to accept IP or domain and comment out port exposure in docker configuration

* update: standardize MINIO_HOST format to accept IP or domain across multiple docker-compose files
parent 7add7178
...@@ -12,9 +12,9 @@ services: ...@@ -12,9 +12,9 @@ services:
environment: environment:
MINIO_ACCESS_KEY: minioadmin MINIO_ACCESS_KEY: minioadmin
MINIO_SECRET_KEY: minioadmin MINIO_SECRET_KEY: minioadmin
ports: # ports:
- '9001:9001' # - '9001:9001'
- '9000:9000' # - '9000:9000'
networks: networks:
- fastgpt - fastgpt
volumes: volumes:
...@@ -235,7 +235,7 @@ services: ...@@ -235,7 +235,7 @@ services:
environment: environment:
- AUTH_TOKEN=xxxxxx # disable authentication token if you do not set this variable - AUTH_TOKEN=xxxxxx # disable authentication token if you do not set this variable
# 改成 minio 公网地址 # 改成 minio 公网地址
- MINIO_HOST=ip:9000 - MINIO_HOST=<ip or domain>
- MINIO_PORT=9000 - MINIO_PORT=9000
- MINIO_USE_SSL=false - MINIO_USE_SSL=false
- MINIO_ACCESS_KEY=minioadmin - MINIO_ACCESS_KEY=minioadmin
......
...@@ -209,7 +209,7 @@ services: ...@@ -209,7 +209,7 @@ services:
environment: environment:
- AUTH_TOKEN=xxxxxx # disable authentication token if you do not set this variable - AUTH_TOKEN=xxxxxx # disable authentication token if you do not set this variable
# 改成 minio 公网地址 # 改成 minio 公网地址
- MINIO_HOST=ip:9000 - MINIO_HOST=<ip or domain>
- MINIO_PORT=9000 - MINIO_PORT=9000
- MINIO_USE_SSL=false - MINIO_USE_SSL=false
- MINIO_ACCESS_KEY=minioadmin - MINIO_ACCESS_KEY=minioadmin
......
...@@ -195,7 +195,7 @@ services: ...@@ -195,7 +195,7 @@ services:
environment: environment:
- AUTH_TOKEN=xxxxxx # disable authentication token if you do not set this variable - AUTH_TOKEN=xxxxxx # disable authentication token if you do not set this variable
# 改成 minio 公网地址 # 改成 minio 公网地址
- MINIO_HOST=ip:9000 - MINIO_HOST=<ip or domain>
- MINIO_PORT=9000 - MINIO_PORT=9000
- MINIO_USE_SSL=false - MINIO_USE_SSL=false
- MINIO_ACCESS_KEY=minioadmin - MINIO_ACCESS_KEY=minioadmin
......
...@@ -177,7 +177,7 @@ services: ...@@ -177,7 +177,7 @@ services:
environment: environment:
- AUTH_TOKEN=xxxxxx # disable authentication token if you do not set this variable - AUTH_TOKEN=xxxxxx # disable authentication token if you do not set this variable
# 改成 minio 公网地址 # 改成 minio 公网地址
- MINIO_HOST=ip:9000 - MINIO_HOST=<ip or domain>
- MINIO_PORT=9000 - MINIO_PORT=9000
- MINIO_USE_SSL=false - MINIO_USE_SSL=false
- MINIO_ACCESS_KEY=minioadmin - MINIO_ACCESS_KEY=minioadmin
......
...@@ -178,7 +178,7 @@ services: ...@@ -178,7 +178,7 @@ services:
environment: environment:
- AUTH_TOKEN=xxxxxx # disable authentication token if you do not set this variable - AUTH_TOKEN=xxxxxx # disable authentication token if you do not set this variable
# 改成 minio 公网地址 # 改成 minio 公网地址
- MINIO_HOST=ip:9000 - MINIO_HOST=<ip or domain>
- MINIO_PORT=9000 - MINIO_PORT=9000
- MINIO_USE_SSL=false - MINIO_USE_SSL=false
- MINIO_ACCESS_KEY=minioadmin - MINIO_ACCESS_KEY=minioadmin
...@@ -284,9 +284,9 @@ const list = [ ...@@ -284,9 +284,9 @@ const list = [
environment: environment:
MINIO_ACCESS_KEY: minioadmin MINIO_ACCESS_KEY: minioadmin
MINIO_SECRET_KEY: minioadmin MINIO_SECRET_KEY: minioadmin
ports: # ports:
- '9001:9001' # - '9001:9001'
- '9000:9000' # - '9000:9000'
networks: networks:
- fastgpt - fastgpt
volumes: volumes:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment