How do I deploy an application in a Stack?
Hashtags: #docker #stack #deploy
To deploy your application, follow these steps:
- Enter the directory of your Stack:
cd stack/<Lenguaje>/<Stack>/
- Stop the deployed Stack with this command:
docker compose down - Upload your application to the /app directory either by performing a Git pull, using wget, or whichever method you prefer.
- Then deploy your application or its updates with the command:
docker compose up --build
That’s it. You should run these steps when deploying your application for the first time or when updating it.