vedmich

Load Balancing Containers

Jan 2nd, 2019
374
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.43 KB | None | 0 0
  1. version: '3.2'
  2. services:
  3.   weather-app1:
  4.     build: ./weather-app
  5.     tty: true
  6.     networks:
  7.      - frontend
  8.   weather-app2:
  9.     build: ./weather-app
  10.     tty: true
  11.     networks:
  12.      - frontend
  13.   weather-app2:
  14.     build: ./weather-app
  15.     tty: true
  16.     networks:
  17.      - frontend
  18.   loadbalancer:
  19.     build: ./load-balancer
  20.     tty: true
  21.     ports:
  22.      - 80:80
  23.     networks:
  24.      - frontend
  25. networks:
  26.  frontend:
Advertisement
Add Comment
Please, Sign In to add comment