#self-hosting images in a Next.js project - HELP

1 messages · Page 1 of 1 (latest)

modern girder
#

I have a question about self-hosting images in a Next.js project.

I'm building a website that has a gallery section, and I can upload new images from a dashboard. The app is deployed on my own VPS, and I want to handle image storage myself — no third-party services.

What’s the best way to save and serve uploaded images in this setup?

remote dawnBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

pale axle
#

use minio

#

you host it using docker compose and you are probably going to need a database in which you store image data.

modern girder
#

thank you man , i will do that

modern girder
#

another questions : what are the options i have to store my images when i don't self host my Nextjs app ?