Category : storage

I have query related to docker container writing and reading from local disk. For example , I have a julia application, which is writing and reading the processed data using the following set of functions: function store(data::Array, ref::String) name = test_folder try create_dir(mkdir("$(homedir())/$name")) catch @warn "directory exists" end open("$(mkpath("$(joinpath(homedir(),"test_folder"))$ref$ref.jls", "w") do io serialize(io, data) end ..

Read more

Been following the tutorial of ‘TechnoTim’ (specifically the video entitled "Docker, Rancher, Kubernetes… Minecraft? (Rancher Setup and Install Tutorial)") to set up minecraft using docker and Rancher. Unfortunately, when a pod dies or is killed, the server goes with it (not persisted). I have tried using the recommended bound-mount settings as described in the video ..

Read more

Been fighting with the problem for a month now. Have Drupal 9 set up on Azure App service with docker images running php8 (base image drupal:9.1.7-php8.0-apache) I have found out that there are two ways to have the "sites/default/files" public files directory served in azure: Symlink "sites/default/files" folder to "/home/files" folder and set WEBSITES_ENABLE_APP_SERVICE_STORAGE to ..

Read more

I am using the default laravel folder structure and the filesystem public: ‘public’ => [ ‘driver’ => ‘local’, ‘root’ => storage_path(‘app/public’), ‘url’ => env(‘APP_URL’) . ‘/storage’, ‘visibility’ => ‘public’, ], Everything runs on docker and the complete laravel folder is mounted into /var/www/html: volumes: – "./:/var/www/html" When I run php artisan storage:link and then cd ..

Read more