docker-compose build
docker-compose up -d
Open a browser on http://localhost. Refresh. It should always be the same random sentence.
docker-compose scale words-api=20
Open a browser on http://localhost. Refresh. It should be a new random sentence each time.
docker-compose -f docker-compose-build.yml up
docker-compose -f docker-compose-optimized.yml build
docker-compose -f docker-compose-optimized.yml up -d
Open a browser on http://localhost. Refresh. It should always be the same random sentence.
docker-compose -f docker-compose-optimized.yml scale words-api=20
Open a browser on http://localhost. Refresh. It should be a new random sentence each time.