strapi-community / strapi-tool-dockerize

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

Missing docker-compose.yml #29

Closed nevotheless closed 1 year ago

nevotheless commented 1 year ago

🐛 Bug Report

🤷‍♀️ What did you do

I created a new strapi project with npx create-strapi-app@latest . and used

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.

🙇‍♀️ Expected behavior/code

I expected that besides the Dockerfile a docker-compose.yml would also get created.

👩‍💻 Environment

Eventyret commented 1 year ago

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 ?

nevotheless commented 1 year ago

Oh you are right. Didn't see that one. Thanks :)