Upload files on Digital Ocean + Docker

Image file upload on my live site! Sorry!


Thanks George! How to define a mapping outside of the container? On upload component configuration?

A good starting point will be:

But I know we have to put an option for this in our docker settings to make it automatic and much easier to do :slight_smile:

1 Like

@George, once you add this docker settings option to Wappler will we our Docker/containerized apps be able to upload files directly to storage services like S3 and Digital Ocean Spaces?

Good question Eddie!

I didn’t knew if it was possible but seems it is!

Those docker volumes are pretty powerful stuff!

And you can bind them to any provider, so also an s3 compatible one! They have a driver for that:

So go experiment and let me know when you got it to work so we can integrate the best config options.

You can just adjust our docker-compose.yml file in .wappler folder with the needed commands and redeploy.

1 Like

Is what we’re talking about here the same thing as this feature request on uploading to S3 and DO spaces?

Or are they somehow different?

Well if you docker you just map a local folder of your server to s3

So the server and all your file upload functionality of server connect will work out of the box because the folder acts like a regular folder and docker maps it on OS level to s3

1 Like

Should I use the Docker Volume to upload files from my live server?

Yes you just have to define a docker volume indeed where your uploads will be saved

sorry so many questions…Never used a docker on production!
I created a volume via Digital Ocean web admin, they created a volume named volume-nyc1-01.

My uploads, on my local server, goes to /ProductsImage folder… On my Upload action I have to change the path for “volume-nyc1-01/ProductsImage” ?

Many thanks!

So everything works fine?

Maybe you can add a step by step tutorial with screenshots so other Wappler users of digital ocean can profit from it as wel.


Oh no…is not working…sorry :frowning:
I’m trying others ways here!

Maybe you should contact the digital ocean support or their community and see what are the right settings

Block storage may be more suitable for you: https://www.digitalocean.com/products/spaces/

Hello everyone!

Still with the problem! Unfortunately, Wappler deploy with Docker doesn’t include configuration to upload files (and use them on frontend). I’m hiring a DevOps specialist to solve my problem.

Hi @otavionestares
Did you find any solution?
I was able to mount volume to the container, but I am having problems with permissions now. When I want to save a file to the volume, I get 500 error with permission denied subject.

Ferhat! Man…if you have a very tight deadline, run away from Docker in production…a real nightmare to config paths, open ports, install SSL…


I am starting to see all those problems with docker. It is interesting that no one talks about it in the forum, but it is nightmare to even setup a simple file storage.
Good luck!

Actually, I abandoned the Docker…I think the incredible Wappler team will come with a new update about this issue very soon!

1 Like