mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-14 13:51:56 +08:00
27 lines
684 B
YAML
27 lines
684 B
YAML
version: '3'
|
|
services:
|
|
minio:
|
|
image: minio/minio:RELEASE.2023-05-04T21-44-30Z
|
|
container_name: ${CONTAINER_NAME}
|
|
ports:
|
|
- ${PANEL_APP_PORT_HTTP}:9000
|
|
- ${PORT_API}:9001
|
|
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:
|
|
- 1panel-network
|
|
volumes:
|
|
- ./data:/data
|
|
labels:
|
|
createdBy: "Apps"
|
|
networks:
|
|
1panel-network:
|
|
external: true |