O'Reilly logo

Distributed Computing with Go by V.N. Nikhil Anurag

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

docker-compose.yaml

This file will allow us to build, run, connect and stop our containers from a single interface.

version: '3' services: a_m_librarian: build: librarian/. environment: - API_PORT=${A_M_PORT} ports: - ${A_M_PORT}:${A_M_PORT} n_z_librarian: build: librarian/. environment: - API_PORT=${N_Z_PORT} ports: - ${N_Z_PORT}:${N_Z_PORT} others_librarian: build: librarian/. environment: - API_PORT=${OTHERS_PORT} ports: - ${OTHERS_PORT}:${OTHERS_PORT} concierge: build: concierge/. environment: - API_PORT=${CONCIERGE_PORT} - LIB_A_M=http://a_m_librarian:${A_M_PORT}/api - LIB_N_Z=http://n_z_librarian:${N_Z_PORT}/api - LIB_OTHERS=http://others_librarian:${OTHERS_PORT}/api ports: - ${CONCIERGE_PORT}:${CONCIERGE_PORT} links: - a_m_librarian ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required