vn-network-services

The Core-Cluster is where our core api services will be.

Compose-File Core Core-LB Issues

Compose-File

The core cluster creates one network with an nginx service that acts as a load balancer. Now there is no need to balance because there is only one core service being used, so its just a reverse-proxy.

version: '0.1'
services:
  core:
    restart: always
    image: cmv343/vhp-core
  nginx:
    restart: always
    image: cmv343/vhp-core-lb
    ports:
      - 80:80
    depends_on:
    - core

For a development setups (services on dev.vhpportal.com) you can change the image:tag as needed.

Core

vhpportal

dev.vhpportal

Core-LB

vhpportal

dev.vhpportal

Issues