IT-REX-Platform / wiki

MIT License
1 stars 0 forks source link

Docker-Compose file to run entire backend for local dev environment #35

Closed LG1401 closed 1 year ago

LG1401 commented 1 year ago

Description

Create a docker compose file which unifies all containers of the backend to make running the local dev env easier. Either write the unified compose file manually or check if some tools/scripts exist to automatically merge docker compose files (preferred). Then a way could be set up how the unified compose file is automatically updated when a compose file of one of the services changes.

Acceptance Critera

ZombieAlienRobot commented 1 year ago

Docker compose already allows to merge multiple compose files via the -f flag. So I just created a script that runs the command with all the current repos. This will need to be updated for every new service. See: https://github.com/IT-REX-Platform/wiki/pull/37 and https://github.com/IT-REX-Platform/gits_backend

First the changes to docker compose have to be approved, see the respective pull requests in the service repositories. https://github.com/IT-REX-Platform/content_service/pull/6 https://github.com/IT-REX-Platform/user_service/pull/2 https://github.com/IT-REX-Platform/media_service/pull/7