Hello,
On every deploy of my Strapi V4 i lose my medias library, each files path are broken.
Do you have an idea of what’s happen with this issue
i use this config to deploy on render
# STRAPI
- type: web
name: phd-strapi
env: node
plan: starter
region: frankfurt
buildCommand: yarn && yarn workspace strapi build
startCommand: yarn workspace strapi start
healthCheckPath: /_health
disk:
name: strapi-uploads
mountPath: /opt/render/project/src/public/uploads
sizeGB: 1
envVars:
- key: NODE_VERSION
value: 16.15.1
- key: NODE_ENV
value: production
- key: DATABASE_URL
fromDatabase:
name: phd-inov-database
property: connectionString
- key: JWT_SECRET
generateValue: true
- key: ADMIN_JWT_SECRET
generateValue: true
- key: APP_KEYS
generateValue: true
- key: API_TOKEN_SALT
generateValue: true