Since a few days I am trying to deploy my next.js site with strapi as api in a dockerized environment. So far I already found out that my frontend is not able to use the "normal" DNS and therefore will resolve the api url to the internal docker ip. This is no problems at frist, ..
I am currently struggling with getting a NextJS-Application in combination with a Strapi-Application into Docker. My project is build up like that: /projekt /strapi … Dockerfile /nextjs … Dockerfile docker-compose.yml End – at least I think that I’m right with this – I want my docker-composed nextjs-App to build after the strapi-App is running and ..
I am using the jwilder/ngnix proxy on my server to easily deploy web application via docker. For my latest project I wanted to try to build a nextjs application with a strapi backend. Both my frontend and backend have their own domains. The frontend is reachable under mydomain.com and strapi is running under api.mydomain.com. Everything ..
I have a docker container with strapi, nextjs and nginx. I have it set up so that if I navigate to front.development I hit the next front end and if I go to back.development I hit the strapi backend. I can make a request to back.development/articles/some-article-title in postman and it works. However if I make ..
I’m currently trying to dockerize an existing strapi application. I’ve read documention on from strapi’s docs but no mentions on how to dockerize an existing application. Source: Docker..
I created a project using npx create-strapi-app my-project –quickstart created a Dockerfile: FROM strapi/base WORKDIR /srv/app COPY ./package.json ./ COPY ./yarn.lock ./ RUN yarn install COPY . . ENV NODE_ENV production RUN yarn build EXPOSE 1337 CMD ["yarn", "start"] Now i’m trying to build the Docker Image, but it stucks always when building the webpack. ..
At https://strapi.io/documentation/developer-docs/latest/setup-deployment-guides/configurations.html, there is a config parameter ‘url’ to set the public URL of the server. Is there a way to pass a value for that ‘url’ parameter when running Strapi in a Docker container? Maybe via the environment variables in the docker-compose.yml? version: ‘3’ services: strapi: image: strapi/strapi environment: DATABASE_CLIENT: mysql DATABASE_HOST: mysql DATABASE_PORT: ..
I hope one of you can help me. I have a website running Strapi in Docker as Backend. I use Nginx as server. For now i have used it with the original url, but I want to run it over https with an upstream url like dashboard.website.com. My problem is that I don’t know how ..
I tried to dockerize strapi’s next.js corporate starter app. I used production optimized next.js Dockerfile from next.js offcial docs (along with strapi Dockerfile). Running docker-compose build (yml) resulted in strapi image being built and in next.js image build failure (as it was trying to access initial pages data from not-yet-existing strapi container): FetchError: request to ..
I am dockerizing a strapi application with mongodb atlas hosted database. The image is working fine when I am hardcoding the database credentials inside config/database.js file. But I want to get those credentials from .env file. According to strapi doc I can get those variable in database.js file without using the dotenv package https://strapi.io/documentation/developer-docs/latest/setup-deployment-guides/configurations.html#environment-variables But ..