mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-28 13:16:13 +08:00
35 lines
943 B
YAML
35 lines
943 B
YAML
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
|