mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-29 05:06:12 +08:00
33 lines
985 B
YAML
33 lines
985 B
YAML
version: '3'
|
|
services:
|
|
minio:
|
|
image: minio/minio:RELEASE.2024-02-26T09-33-48Z
|
|
container_name: ${CONTAINER_NAME}
|
|
ports:
|
|
- ${PANEL_APP_PORT_HTTP}:9001
|
|
- ${PANEL_APP_PORT_API}:9000
|
|
restart: always
|
|
command: "server /data --console-address :9001 --address :9000"
|
|
environment:
|
|
MINIO_ROOT_USER: ${PANEL_MINIO_ROOT_USER}
|
|
MINIO_ROOT_PASSWORD: ${PANEL_MINIO_ROOT_PASSWORD}
|
|
MINIO_BROWSER_SESSION_DURATION: ${MINIO_BROWSER_SESSION_DURATION}
|
|
MINIO_BROWSER: ${MINIO_BROWSER}
|
|
MINIO_BROWSER_LOGIN_ANIMATION: ${MINIO_BROWSER_LOGIN_ANIMATION}
|
|
MINIO_SERVER_URL: "http://127.0.0.1:9000"
|
|
MINIO_BROWSER_REDIRECT_URL: "http://127.0.0.1:9001"
|
|
logging:
|
|
options:
|
|
max-size: "5M"
|
|
max-file: "10"
|
|
driver: json-file
|
|
networks:
|
|
- 1panel-network
|
|
volumes:
|
|
- ./data:/data
|
|
- ./certs:/root/.minio/certs
|
|
labels:
|
|
createdBy: "Apps"
|
|
networks:
|
|
1panel-network:
|
|
external: true |