By default, images are uploaded to the data directory of the app itself. To switch to another provider like MinIO, first configure minio to image uploads. Then, use the following configuration in /app/data/config.json:
"imageUploadType": "minio",
"s3bucket": "codimd-images",
"minio": {
"accessKey": "MINIO_ACCESS_KEY",
"secretKey": "MINIO_SECRET_KEY",
"endPoint": "minio.domain.com",
"secure": true,
"port": 443
}