nginx & tomcat load balancing (docker-compose)
tomcat 2대로 만들기 nginx & tomcat load balancing docker nginx&tomcat load balancing docker-compse.yaml version: '3.1' services: tomcat1: image: tomcat:8.0 restart: always container_name: tomcat1 environment: - HOME_PATH=/home ports: - 8080:8080 volumes : - ./data/files:/home/files networks: - mynetwork tomcat2: image: tomcat:8.0 restart: always container_name: tomcat2 environment: - HOME_PATH=/home ..