mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-29 01:56:13 +08:00
32 lines
972 B
YAML
32 lines
972 B
YAML
services:
|
|
minio:
|
|
image: minio/minio:RELEASE.2024-06-11T03-13-30Z
|
|
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 |