appstore-1panel/apps/minio/2024-06-11/docker-compose.yml
萌森 d39589686c 支持应用
LinkDing
Docker Mailserver
Pixman

Signed-off-by: 萌森 <qyg2297248353@163.com>
2024-07-29 13:14:45 +08:00

37 lines
959 B
YAML

version: "3.8"
networks:
1panel-network:
external: true
services:
minio:
image: minio/minio:RELEASE.2024-06-11T03-13-30Z
container_name: ${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}
- ${PANEL_APP_PORT_API}:${MINIO_API_PORT}
command: server --console-address :${PANEL_APP_PORT_HTTP} --address :${MINIO_API_PORT} --json
env_file:
- /etc/1panel/envs/global.env
- ${ENV_FILE:-/etc/1panel/envs/default.env}
extra_hosts:
- ${MINIO_SERVER_HOST:-localhost}:127.0.0.1
volumes:
- ${MINIO_ROOT_PATH}/certs:/root/.minio/certs
- ${MINIO_ROOT_PATH}/data:/data
logging:
options:
max-size: "5M"
max-file: "10"
driver: json-file
environment:
- MINIO_VOLUMES=/data
- MINIO_API_ROOT_ACCESS=on
- MINIO_BROWSER_REDIRECT=true