2023-02-06 15:53:30 +08:00
|
|
|
version: '3'
|
|
|
|
services:
|
2023-02-07 15:21:24 +08:00
|
|
|
minio:
|
2023-12-03 12:48:13 +08:00
|
|
|
image: minio/minio:RELEASE.2023-12-02T10-51-33Z
|
2023-02-22 17:12:24 +08:00
|
|
|
container_name: ${CONTAINER_NAME}
|
2023-02-06 15:53:30 +08:00
|
|
|
ports:
|
|
|
|
- ${PANEL_APP_PORT_HTTP}:9000
|
2023-10-23 14:50:29 +08:00
|
|
|
- ${PANEL_APP_PORT_API}:9001
|
2023-02-06 15:53:30 +08:00
|
|
|
restart: always
|
|
|
|
command: server /data --console-address :9000 --address :9001
|
|
|
|
environment:
|
|
|
|
MINIO_ROOT_USER: ${MINIO_ROOT_USER}
|
|
|
|
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD}
|
|
|
|
logging:
|
|
|
|
options:
|
|
|
|
max-size: "5M"
|
|
|
|
max-file: "10"
|
|
|
|
driver: json-file
|
|
|
|
networks:
|
2023-02-13 15:30:25 +08:00
|
|
|
- 1panel-network
|
2023-02-06 15:53:30 +08:00
|
|
|
volumes:
|
|
|
|
- ./data:/data
|
|
|
|
labels:
|
|
|
|
createdBy: "Apps"
|
|
|
|
networks:
|
2023-02-13 15:30:25 +08:00
|
|
|
1panel-network:
|
2023-02-06 15:53:30 +08:00
|
|
|
external: true
|