create a file .env with the following contents and modify:
DATABASE_CLIENT=mongo
DATABASE_NAME=strapi
DATABASE_HOST=mongo
DATABASE_PORT=27017
DATABASE_USERNAME=strapi
DATABASE_PASSWORD=CHANGEME
MONGO_INITDB_ROOT_USERNAME=strapi
MONGO_INITDB_ROOT_PASSWORD=CHANGEME
[email protected]
F3_CMS_DOMAIN=cms.example.org
F3_FRONTEND_DOMAIN=frontend.example.org
NEXT_TELEMETRY_DISABLED=1to start it
docker-compose up -dto only start the frontend
npm i # install all dependencies first
npm run dev