Closed nevotheless closed 1 year ago
I created a new strapi project with npx create-strapi-app@latest . and used
npx create-strapi-app@latest .
npx @strapi-community/dockerize new \ --dbclient=mysql \ --dbhost=127.0.0.1 \ --dbport=3306 \ --dbname=strapi \ --dbusername=strapi \ --dbpassword=strapi \ --projecttype=js \ --packagemanager=yarn \ --usecompose=false \ --env=both
to dockerize the newly created project.
I expected that besides the Dockerfile a docker-compose.yml would also get created.
Dockerfile
docker-compose.yml
16.15.0
MacOS 13.0 Beta (22A5331f)
This is sadly not a bug, you specified --usecompose=false \ which means don't create a docker-compose file try set this to yes and see if generates a file ?
--usecompose=false \
docker-compose file
Oh you are right. Didn't see that one. Thanks :)
🐛 Bug Report
🤷♀️ What did you do
I created a new strapi project with
npx create-strapi-app@latest .
and usedto dockerize the newly created project.
🙇♀️ Expected behavior/code
I expected that besides the
Dockerfile
adocker-compose.yml
would also get created.👩💻 Environment
16.15.0
MacOS 13.0 Beta (22A5331f)