Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Use docker compose to run locally #8

Closed
Henriquelay opened this issue Sep 23, 2021 · 3 comments · Fixed by #29 or #46
Closed

Use docker compose to run locally #8

Henriquelay opened this issue Sep 23, 2021 · 3 comments · Fixed by #29 or #46
Assignees
Labels
back-end This issue or PR is related to the back-end enhancement New feature or request front-end This issue or PR is related to the front-end

Comments

@Henriquelay
Copy link
Collaborator

Instead of only running backend in containers, a docker-compose should be more accessible and easier to the end-user, since they will need docker to run the backend anyway. That should even help when developing frontend.

What needs to be done in order to achieve it:

  • Create a dockerfile that builds the project and then runs it.
  • Create a docker-compose file that runs both the backend and then the frontend, all in the same network. In the future, the backend application can be in more than one network, to be in a separate network with only backend app and frontend.

With this, you should be able to run all applications (in the proper order) with docker-compose up, creating a docker container for each service instead of doing that with separate commands and the application in the shell session.

@AtilioA AtilioA added this to 📋 To do in Alerta do Tesouro - Dev Kanban May 4, 2022
@AtilioA AtilioA moved this from 📋 To do to 🔄 In progress in Alerta do Tesouro - Dev Kanban May 4, 2022
@Henriquelay Henriquelay changed the title Use docker-compose to run locally Use docker compose to run locally May 11, 2022
@Henriquelay Henriquelay linked a pull request May 12, 2022 that will close this issue
@Henriquelay Henriquelay added back-end This issue or PR is related to the back-end enhancement New feature or request front-end This issue or PR is related to the front-end labels May 12, 2022
Alerta do Tesouro - Dev Kanban automation moved this from 🔄 In progress to ✔️ Done May 12, 2022
@AtilioA
Copy link
Owner

AtilioA commented May 20, 2022

n acredito que closamo essa hein 🙌

@AtilioA
Copy link
Owner

AtilioA commented May 22, 2022

Reopening as we still need a service for the web app, and I'd prefer to reopen the same issue instead of creating a new one.

@AtilioA AtilioA reopened this May 22, 2022
Alerta do Tesouro - Dev Kanban automation moved this from ✔️ Done to 🔄 In progress May 22, 2022
@AtilioA AtilioA closed this as completed Jun 3, 2022
Alerta do Tesouro - Dev Kanban automation moved this from 🔄 In progress to ✔️ Done Jun 3, 2022
@AtilioA
Copy link
Owner

AtilioA commented Jun 3, 2022

n acredito que closamo essa hein raised_hands

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
back-end This issue or PR is related to the back-end enhancement New feature or request front-end This issue or PR is related to the front-end
2 participants