appstore-1panel/apps/minio/2024-06-11/docker-compose.yml

32 lines
972 B
YAML
Raw Normal View History

2024-03-07 11:13:45 +08:00
services:
minio:
image: minio/minio:RELEASE.2024-06-11T03-13-30Z
2024-03-07 11:13:45 +08:00
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:
2024-03-07 11:46:14 +08:00
- ./data:/data
- ./certs:/root/.minio/certs
2024-03-07 11:13:45 +08:00
labels:
createdBy: "Apps"
2024-03-07 11:46:14 +08:00
networks:
1panel-network:
external: true