appstore-1panel/apps/minio/2024-01-05/docker-compose.yml

27 lines
706 B
YAML
Raw Normal View History

2023-02-06 15:53:30 +08:00
version: '3'
services:
2023-02-07 15:21:24 +08:00
minio:
2024-01-11 10:36:36 +08:00
image: minio/minio:RELEASE.2024-01-05T22-17-24Z
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: ${PANEL_MINIO_ROOT_USER}
MINIO_ROOT_PASSWORD: ${PANEL_MINIO_ROOT_PASSWORD}
2023-02-06 15:53:30 +08:00
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