@SneakyThrows
private String loadUrlDocument(final String name) {
log.debug("Document URL {} downloaded successfully", name);
return minioClient.getPresignedObjectUrl(
GetPresignedObjectUrlArgs.builder()
.method(Method.GET)
.bucket(minioProperties.getBucket())
.object(name)
.expiry(5, TimeUnit.MINUTES)
.build());
}
bucket: documents
url: http://minio:9000
accessKey: minioadmin
secretKey: minioadmin
cloud:
build:
context: ./cloud
container_name: "cloud"
networks:
- app-network
depends_on:
- postgres
ports:
- "8084:8084"
minio:
image: minio/minio:latest
container_name: minio
networks:
- app-network
environment:
- MINIO_ROOT_USER=${MINIO_ASSES_KEY}
- MINIO_ROOT_PASSWORD=${MINIO_SECRET_KEY}
command: server ~/minio --console-address :9090
ports:
- ‘9090:9090‘
- ‘9000:9000‘
volumes:
- "/data:/data"
networks:
app-network:
driver: bridge
Const BeginFolder="D:"
Dim objFolder, objShell
Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.BrowseForFolder(0, "Выбирайте папку для обработки", 1, BeginFolder)
If Not (objFolder Is Nothing) Then
wscript.echo "Folder: " & objFolder.title
wscript.echo "Full Path: " & objFolder.Self.path
Else
Msgbox "Папка не выбрана"
End If