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" healthcheck: test: [ "CMD", "curl", "-f", "http://localhost:9000/minio/health/live" ] interval: 30s timeout: 20s retries: 3 networks: 1panel-network: external: true