Look at the Nuxt 3 documentation to learn more.
Make sure to install the dependencies:
yarn installStart the development server on http://localhost:3000
yarn run devBuild the application for production:
yarn buildLocally preview production build:
yarn previewCheck out the deployment documentation for more information.
docker buildx build -t integritee/website:1.21 .
# test the image locally
docker run -p 3000:3000 integritee/website:1.21
docker login
docker push integritee/website:1.21change portainer config:
Stacks -> integritee-website -> edit -> update image
there are two stages. First you should test staging:
- node-web.image: integritee/website:X.XX -> 2 replicas for https://staging.integritee.network
- node-web-prod.image: integritee/website:X.XX -> 2 replicas for https://integritee.network
deploy the stack
can be caused by "no space left on device", but you won't see that msg in portainer. ssh into the swarm machine at portainer.integritee.network
docker system prune