There are no single container for each backend component that we need to reach from frontend API, and maintaining list of container dependencies for every backend component in multiple places is too much of a hassle.
We've already got up.sh script, so let's make it handle dependencies and leave in docker-compose.yml only containers for cyber-ui itself.
Conventions needed for staging server setup:
repos for all components are cloned into $HOME on staging
component compose file is located in /devops/staging/docker-compose.yml
up.sh then pulls all repos and runs docker-compose.yml up for every component.
There are no single container for each backend component that we need to reach from frontend API, and maintaining list of container dependencies for every backend component in multiple places is too much of a hassle.
We've already got
up.sh
script, so let's make it handle dependencies and leave indocker-compose.yml
only containers forcyber-ui
itself.Conventions needed for staging server setup:
/devops/staging/docker-compose.yml
up.sh
then pulls all repos and runsdocker-compose.yml
up for every component.