Instead of having to maintain two different docker-compose files: docker-compose.yml and docker-compose_hw.yml, this new schema provides a master file docker-compose.yml (which is run in SW mode) and a secondary file that only overrides the values that change to run in HW mode, so that you run in either mode like so:
SW: docker-compose up
HW: docker-compose -f docker-compose.yml -f docker-compose.hw.yml up
Please note that in the second case, the order in which the files in -f are listed matters as that's the order in which they are processed.
I'm also renaming docker-compose_hw.yml to docker-compose.hw.yml for consistency with our other existing repo discovery-docker-network
Instead of having to maintain two different docker-compose files:
docker-compose.yml
anddocker-compose_hw.yml
, this new schema provides a master filedocker-compose.yml
(which is run in SW mode) and a secondary file that only overrides the values that change to run in HW mode, so that you run in either mode like so:docker-compose up
docker-compose -f docker-compose.yml -f docker-compose.hw.yml up
Please note that in the second case, the order in which the files in-f
are listed matters as that's the order in which they are processed.I'm also renaming
docker-compose_hw.yml
todocker-compose.hw.yml
for consistency with our other existing repodiscovery-docker-network