This PR refactors the existing docker compose stuff in order to prepare the CI workflow for deploying to staging environment.
Related to #37
Related to #38
Included:
small tweaks to the Dockerfile, most notably generated images shall now have the GIT_COMMIT env variable inside of them with the sha of the git commit used to build them, which helps with knowing exactly which version of the code is inside the built image
split compose files into a base docker/compose.yaml and two compose.dev.yaml and compose.staging.yaml files in order to better adapt to having these different environments
This PR refactors the existing docker compose stuff in order to prepare the CI workflow for deploying to staging environment.
Included:
Dockerfile
, most notably generated images shall now have theGIT_COMMIT
env variable inside of them with the sha of the git commit used to build them, which helps with knowing exactly which version of the code is inside the built imagedocker/compose.yaml
and twocompose.dev.yaml
andcompose.staging.yaml
files in order to better adapt to having these different environments