strapi-community / strapi-tool-dockerize

Easy add support for docker to your strapi project
MIT License
558 stars 35 forks source link

Data/Assets are missing #84

Closed oza-c closed 1 year ago

oza-c commented 1 year ago

πŸ› Bug Report

πŸ€·β€β™€οΈ What did you do

Tool successfully executed (nothing changed in the configuration) in a existing strapi project, panel also starts correctly, new admin user created and then logged in -> There I see my created collections but the data including the assets are missing.

⛔️ Error log

//

πŸ‘©β€πŸ’» Environment

Eventyret commented 1 year ago

What is the content of your .dockerignore file

oza-c commented 1 year ago

.tmp/ .cache/ .git/ build/ node_modules/ .env data/

Eventyret commented 1 year ago

Remove the data folder from it and rebuild it to make it part of the image :)

oza-c commented 1 year ago

did not help :/ i exec into container and looked for the /opt/app/public/uploads and see all of my asset files.

Eventyret commented 1 year ago

Check your config and variables for what database to use ☺️