I have several projects that are inter-related, a gateway, front-end and api. Right now, I have several docker-compose files and override files that can start each part (with it's own dependencies) independently.
I'd like to have a fuge.yml file in each service that will bring that one part up in isolation, and another fuge.yml that imports the service fuge.yml and allows me to override so I can bring the entire stack up.
For example:
src/
front-end/
index.js
fuge.yml #<- starts a proxy to production gw instead of development gw
gateway/
index.js
fuge.yml # <- starts a db and redis cache
api/
index.js
fuge.yml # <- starts a db and just runs tests against it
fullstack/
fuge.yml # <- imports the other three and overrides ports and dns settings to mimic produciton.
I have several projects that are inter-related, a gateway, front-end and api. Right now, I have several docker-compose files and override files that can start each part (with it's own dependencies) independently.
I'd like to have a
fuge.yml
file in each service that will bring that one part up in isolation, and anotherfuge.yml
that imports the servicefuge.yml
and allows me to override so I can bring the entire stack up.For example: